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]