plex-web-downloader/systemd script

16 lines
265 B
Plaintext
Raw Permalink Normal View History

2017-12-12 09:12:17 -05:00
# /etc/systemd/system/pwd.service
# change user to someone whos not root
[Unit]
Description=pwd
After=network-online.target
[Service]
User=root
Type=simple
ExecStart=/usr/bin/npm start /opt/plex-web-downloader/
Restart=on-abort
[Install]
WantedBy=default.target