mirror of
https://github.com/iv-org/temporary-whitelist.git
synced 2024-11-26 15:50:29 +00:00
20 lines
313 B
SYSTEMD
20 lines
313 B
SYSTEMD
|
[Unit]
|
||
|
Description=Temporary whitelist for Invidious
|
||
|
After=syslog.target
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
RestartSec=2s
|
||
|
Type=simple
|
||
|
|
||
|
User=nobody
|
||
|
Group=nogroup
|
||
|
|
||
|
WorkingDirectory=/opt/temporary-whitelist
|
||
|
ExecStart=/usr/bin/node /opt/temporary-whitelist/index.js
|
||
|
|
||
|
Restart=always
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|