mirror of https://github.com/CIRCL/lookyloo
add log to lookyloo's service
parent
9243f84295
commit
f3f61db5ba
|
@ -10,6 +10,9 @@ 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"
|
||||
# check that the log folder exists, if not: sudo mkdir /var/log/lookyloo
|
||||
StandardOutput=append:/var/log/lookyloo/message.log
|
||||
StandardError=append:/var/log/lookyloo/error.log
|
||||
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in New Issue