temporary-whitelist/temporary-whitelist.service

20 lines
313 B
SYSTEMD
Raw Permalink Normal View History

2023-02-24 08:59:20 +00:00
[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