mirror of
https://github.com/YunoHost/yunohost_demo.git
synced 2024-09-03 19:56:44 +02:00
Update systemd.service
This commit is contained in:
parent
b94c117d2b
commit
2516dc36ea
1 changed files with 4 additions and 1 deletions
|
@ -1,9 +1,12 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Start and stop script for lxc demo container
|
Description=Start and stop script for LXC demo container
|
||||||
Requires=network.target
|
Requires=network.target
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
|
User=__APP__
|
||||||
|
Group=__APP__
|
||||||
ExecStart=/bin/bash __FINAL_PATH__/demo_start.sh
|
ExecStart=/bin/bash __FINAL_PATH__/demo_start.sh
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
ExecStop=/bin/bash __FINAL_PATH__/demo_stop.sh
|
ExecStop=/bin/bash __FINAL_PATH__/demo_stop.sh
|
||||||
|
|
Loading…
Reference in a new issue