diff --git a/conf/systemd.service b/conf/systemd.service index 9a8fce8..5161bb7 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,9 +1,12 @@ [Unit] -Description=Start and stop script for lxc demo container +Description=Start and stop script for LXC demo container Requires=network.target After=network.target + [Service] Type=forking +User=__APP__ +Group=__APP__ ExecStart=/bin/bash __FINAL_PATH__/demo_start.sh RemainAfterExit=true ExecStop=/bin/bash __FINAL_PATH__/demo_stop.sh