From 93297b63b153301893cc82717881505604df4aa4 Mon Sep 17 00:00:00 2001 From: Perflyst Date: Wed, 23 Jan 2019 21:31:52 +0100 Subject: [PATCH] Add logfile to systemd service and fix path --- invidious.service | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/invidious.service b/invidious.service index 556b862f..6ef12ccf 100644 --- a/invidious.service +++ b/invidious.service @@ -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