Update systemd.service

This commit is contained in:
yalh76 2022-10-15 01:40:26 +02:00
parent b94c117d2b
commit 2516dc36ea

View file

@ -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