1
0
Fork 0
scripts-admin-quickndirty-p.../systemd-units/screen-session-at-boot.service
Chl f79dd1a13b systemd-units: simplify
(and don't make it too obvious...)
2019-07-25 00:20:05 +02:00

14 lines
460 B
Desktop File

[Unit]
Description=Starting some apps into a screen session
After=network-online.target auditd.service
[Service]
Type=oneshot
RemainAfterExit=yes
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"
[Install]
WantedBy=default.target