From ad780e1ad2060a6451da695911b5bd74cd9448b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Wed, 7 Oct 2020 15:34:25 +0200 Subject: [PATCH] chg: Update systemd service --- etc/systemd/system/lookyloo.service.sample | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/etc/systemd/system/lookyloo.service.sample b/etc/systemd/system/lookyloo.service.sample index 0a5d8c36..b1e906de 100644 --- a/etc/systemd/system/lookyloo.service.sample +++ b/etc/systemd/system/lookyloo.service.sample @@ -3,14 +3,13 @@ Description=uWSGI instance to serve lookyloo After=network.target [Service] -User=www-data -Group=www-data +User= +Group= Type=forking -WorkingDirectory= -Environment=LOOKYLOO_HOME= -Environment=PATH=/bin:$PATH -ExecStart=/bin/start.py -ExecStop=/bin/stop.py +WorkingDirectory= +Environment="PATH=" +ExecStart=/bin/bash -c "exec poetry run start" +ExecStop=/bin/bash -c "exec poetry run stop" [Install]