Skip to content

Commit

Permalink
Add logfile to systemd service and fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
Perflyst committed Jan 23, 2019
1 parent 03aa11b commit 93297b6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions invidious.service
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 93297b6

Please sign in to comment.