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]
Type=oneshot
RemainAfterExit=yes
# Note : add 'vm.nr_hugepages = 128' to sysctl.conf
LimitMEMLOCK=268435456
User=miner
Group=miner
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"
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