From 2516dc36ea2a54bfd5d82b4475daa54d0c7b04d5 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 15 Oct 2022 01:40:26 +0200 Subject: [PATCH] Update systemd.service --- conf/systemd.service | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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