|
|
@ -7,19 +7,13 @@ After=network.target
|
|
|
|
RestartSec=2s
|
|
|
|
RestartSec=2s
|
|
|
|
Type=simple
|
|
|
|
Type=simple
|
|
|
|
|
|
|
|
|
|
|
|
# set user and group
|
|
|
|
|
|
|
|
User=invidious
|
|
|
|
User=invidious
|
|
|
|
Group=invidious
|
|
|
|
Group=invidious
|
|
|
|
|
|
|
|
|
|
|
|
# configure location
|
|
|
|
WorkingDirectory=/home/invidious/invidious
|
|
|
|
WorkingDirectory=/home/invidious
|
|
|
|
ExecStart=/home/invidious/invidious/invidious -o invidious.log
|
|
|
|
ExecStart=/home/invidious/invidious/invidious
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Restart=always
|
|
|
|
Restart=always
|
|
|
|
|
|
|
|
|
|
|
|
# default log output is syslog, to disable log enable both
|
|
|
|
|
|
|
|
#StandardOutput=null
|
|
|
|
|
|
|
|
#StandardError=null
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
WantedBy=multi-user.target
|
|
|
|