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]
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue