mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-22 21:23:04 +05:30
Add invidious.service
This commit is contained in:
parent
9580a21786
commit
f65ddaa0f1
25
invidious.service
Normal file
25
invidious.service
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user