16 lines
535 B
Desktop File
16 lines
535 B
Desktop File
[Unit]
|
|
Description=Starting some apps into a screen session
|
|
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"
|
|
|
|
[Install]
|
|
WantedBy=default.target
|