From e6027436bee7aea96f3c2bd3a6f65dce9e267164 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 2 Aug 2022 21:43:58 +0200 Subject: [PATCH] Update systemd.service --- conf/systemd.service | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 13d5118..3f53475 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,9 +7,9 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__FINALPATH__/ -ExecStartPre=+/bin/bash -c 'chown -R __APP__:__APP__ /etc/__APP__/' -ExecStartPre=+/bin/bash -c 'chmod 600 /etc/__APP__/config.toml' -ExecStartPre=+/bin/bash -c 'chmod 600 /etc/__APP__/config.d/server.toml.head' +ExecStartPre=-+/bin/bash -c 'chown -R __APP__:__APP__ /etc/__APP__/' +ExecStartPre=-+/bin/bash -c 'chmod 600 /etc/__APP__/config.toml' +ExecStartPre=-+/bin/bash -c 'chmod 600 /etc/__APP__/config.d/server.toml.head' ExecStartPre=-/bin/bash -c 'cp /etc/__APP__/config.d/server.toml.head /etc/__APP__/config.toml' ExecStartPre=-/bin/bash -c 'cat /etc/__APP__/config.d/*.toml >> /etc/__APP__/config.toml' ExecStart=__FINALPATH__/live/__APP__ /etc/__APP__/config.toml