mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
26 lines
451 B
SYSTEMD
26 lines
451 B
SYSTEMD
|
[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
|