From 529dbee3c41430372637b9bcd4b25606d05ba122 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Tue, 16 Mar 2021 14:12:32 +0100 Subject: [PATCH] add User= and Group= to the systemd service --- conf/systemd.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/systemd.service b/conf/systemd.service index ab90e7b..e0c7130 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -9,6 +9,8 @@ Environment=LXD_OVMF_PATH=/usr/share/ovmf/x64 ExecStart=/usr/local/bin/__APP__ --group=__APP__ --logfile=/var/log/__APP__/__APP__.log ExecStartPost=/usr/local/bin/__APP__ waitready --timeout=600 ExecStop=/usr/local/bin/__APP__ shutdown +User=root +Group=root TimeoutStartSec=600s TimeoutStopSec=30s Restart=on-failure