Create systemd script
This commit is contained in:
parent
a9c80e1318
commit
4cb7d225da
15
systemd script
Normal file
15
systemd script
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# /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
|
Loading…
Reference in New Issue
Block a user