Update lookyloo.service.sample

Fix perms
pull/127/head
Raphaël Vinot 2020-11-19 16:14:39 +01:00 committed by GitHub
parent 6c83793754
commit ef24934744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ 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
ExecStartPre=+-/bin/chown -R <system user used to install lookyloo>:<group of the user used to install lookyloo>
StandardOutput=append:/var/log/lookyloo/message.log
StandardError=append:/var/log/lookyloo/error.log