From 30a5940fbf50cfd32e43104dc241505c5b994ed0 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Sat, 29 Jul 2023 00:22:53 +0200 Subject: [PATCH] Fix install_dir --- conf/systemd.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 1ced809..bdc4a9d 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -6,8 +6,8 @@ After=network.target Type=simple User=__APP__ Group=__APP__ -WorkingDirectory=__FINALPATH__/ -ExecStart=/bin/sh -c '__FINALPATH__/venv/bin/python3 __FINALPATH__/cps.py' +WorkingDirectory=__INSTALL_DIR__/ +ExecStart=/bin/sh -c '__INSTALL_DIR__/venv/bin/python3 __INSTALL_DIR__/cps.py' # Sandboxing options to harden security # Depending on specificities of your service/app, you may need to tweak these