diff options
Diffstat (limited to 'systemd/rt-pupflare@.service')
-rw-r--r-- | systemd/rt-pupflare@.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/systemd/rt-pupflare@.service b/systemd/rt-pupflare@.service new file mode 100644 index 0000000..b96a902 --- /dev/null +++ b/systemd/rt-pupflare@.service @@ -0,0 +1,16 @@ +[Unit] +Description=rt-pupflare +After=network-online.target + +[Service] +EnvironmentFile=/etc/default/rt-pupflare +User=%i +Group=%i +Restart=on-failure +ProtectSystem=full +PrivateDevices=true +WorkingDirectory=/opt/thirdparty +ExecStart=/usr/bin/node $INSTALL_DIR/index.js $PARAMS + +[Install] +WantedBy=multi-user.target |