mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-09 16:51:56 +01:00
Add logfile to systemd service and fix path
This commit is contained in:
parent
03aa11b412
commit
93297b63b1
1 changed files with 2 additions and 8 deletions
|
@ -7,19 +7,13 @@ After=network.target
|
|||
RestartSec=2s
|
||||
Type=simple
|
||||
|
||||
# set user and group
|
||||
User=invidious
|
||||
Group=invidious
|
||||
|
||||
# configure location
|
||||
WorkingDirectory=/home/invidious
|
||||
ExecStart=/home/invidious/invidious/invidious
|
||||
WorkingDirectory=/home/invidious/invidious
|
||||
ExecStart=/home/invidious/invidious/invidious -o invidious.log
|
||||
|
||||
Restart=always
|
||||
|
||||
# default log output is syslog, to disable log enable both
|
||||
#StandardOutput=null
|
||||
#StandardError=null
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue