2019-07-23 22:28:09 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Starting some apps into a screen session
|
|
|
|
After=network-online.target auditd.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2019-07-25 00:20:02 +02:00
|
|
|
User=steve
|
|
|
|
Group=steve
|
|
|
|
ExecStart=/usr/bin/screen -S bootstartedsession -t daemond -dm /bin/dash -c "cd /home/steve/my-app/ && ./daemond"
|
|
|
|
ExecStart=/usr/bin/screen -S bootstartedsession -X screen -t peon1 -dm /bin/dash -c "cd /home/steve/my-app/ && ./build/bin/peon"
|
2019-07-23 22:28:09 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|