mirror of https://github.com/CIRCL/lookyloo
chg: Update systemd service
parent
6066bb1a4c
commit
ad780e1ad2
|
@ -3,14 +3,13 @@ Description=uWSGI instance to serve lookyloo
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=www-data
|
User=<system user used to install lookyloo>
|
||||||
Group=www-data
|
Group=<group of the user used to install lookyloo>
|
||||||
Type=forking
|
Type=forking
|
||||||
WorkingDirectory=</git/home/directory>
|
WorkingDirectory=<path to the directory where you cloned the repository>
|
||||||
Environment=LOOKYLOO_HOME=</git/home/directory>
|
Environment="PATH=<path to the directory where the poetry executable is>"
|
||||||
Environment=PATH=</path/to/virtualenv>/bin:$PATH
|
ExecStart=/bin/bash -c "exec poetry run start"
|
||||||
ExecStart=</path/to/virtualenv>/bin/start.py
|
ExecStop=/bin/bash -c "exec poetry run stop"
|
||||||
ExecStop=</path/to/virtualenv>/bin/stop.py
|
|
||||||
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in New Issue