1
0
Fork 0

systemd-units: simplify

(and don't make it too obvious...)
This commit is contained in:
Chl 2019-07-25 00:20:02 +02:00
parent 97d19540d8
commit f79dd1a13b

View file

@ -5,12 +5,10 @@ After=network-online.target auditd.service
[Service] [Service]
Type=oneshot Type=oneshot
RemainAfterExit=yes RemainAfterExit=yes
# Note : add 'vm.nr_hugepages = 128' to sysctl.conf User=steve
LimitMEMLOCK=268435456 Group=steve
User=miner ExecStart=/usr/bin/screen -S bootstartedsession -t daemond -dm /bin/dash -c "cd /home/steve/my-app/ && ./daemond"
Group=miner ExecStart=/usr/bin/screen -S bootstartedsession -X screen -t peon1 -dm /bin/dash -c "cd /home/steve/my-app/ && ./build/bin/peon"
ExecStart=/usr/bin/screen -S bootstartedsession -t daemond -dm /bin/dash -c "cd /home/buggy/my-app/ && ./daemond"
ExecStart=/usr/bin/screen -S bootstartedsession -X screen -t peon1 -dm /bin/dash -c "cd /home/buggy/my-app/ && ./build/bin/peon"
[Install] [Install]
WantedBy=default.target WantedBy=default.target