systemd-units: simplify
(and don't make it too obvious...)
This commit is contained in:
parent
97d19540d8
commit
f79dd1a13b
1 changed files with 4 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue