fix: service systemd sample file needs a full PATH

pull/97/head
Raphaël Vinot 2020-10-08 12:09:30 +02:00
parent 3ed4ac5f44
commit e78954478f
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ User=<system user used to install lookyloo>
Group=<group of the user used to install lookyloo> Group=<group of the user used to install lookyloo>
Type=forking Type=forking
WorkingDirectory=<path to the directory where you cloned the repository> WorkingDirectory=<path to the directory where you cloned the repository>
Environment="PATH=<path to the directory where the poetry executable is>" Environment="PATH=<path to the directory where the poetry executable is>:/usr/bin"
ExecStart=/bin/bash -c "exec poetry run start" ExecStart=/bin/bash -c "exec poetry run start"
ExecStop=/bin/bash -c "exec poetry run stop" ExecStop=/bin/bash -c "exec poetry run stop"