From f65ddaa0f147a0078d561ec6dd53792ff09bb3db Mon Sep 17 00:00:00 2001 From: Perflyst Date: Sat, 19 Jan 2019 15:04:28 +0100 Subject: [PATCH] Add invidious.service --- invidious.service | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 invidious.service diff --git a/invidious.service b/invidious.service new file mode 100644 index 00000000..556b862f --- /dev/null +++ b/invidious.service @@ -0,0 +1,25 @@ +[Unit] +Description=Invidious (An alternative YouTube front-end) +After=syslog.target +After=network.target + +[Service] +RestartSec=2s +Type=simple + +# set user and group +User=invidious +Group=invidious + +# configure location +WorkingDirectory=/home/invidious +ExecStart=/home/invidious/invidious/invidious + +Restart=always + +# default log output is syslog, to disable log enable both +#StandardOutput=null +#StandardError=null + +[Install] +WantedBy=multi-user.target