diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-03-13 23:50:09 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-03-13 23:50:09 +0300 |
commit | 9eeb7c8bf546a9d162c29d3100a37354d376abc9 (patch) | |
tree | 0b78b5ab396d98419ba7dc64b153682ac35d9dca | |
parent | 08b28d1f256f750e89b703249f717ba520ec7e5b (diff) |
systemd 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 |