Merge branch 'FafnerKeyZee-patch-5' into main

pull/127/head
Raphaël Vinot 2020-11-19 16:06:05 +01:00
commit 6c83793754
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,10 @@ WorkingDirectory=<path to the directory where you cloned the repository>
Environment="PATH=<path to the directory where the poetry executable is>:/usr/bin"
ExecStart=/bin/bash -c "exec poetry run start"
ExecStop=/bin/bash -c "exec poetry run stop"
# The "+" means the command is executed as root, "-" means the command is allowed to fail.
ExecStartPre=+-/bin/mkdir /var/log/lookyloo
StandardOutput=append:/var/log/lookyloo/message.log
StandardError=append:/var/log/lookyloo/error.log
[Install]