From 9eeb7c8bf546a9d162c29d3100a37354d376abc9 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 13 Mar 2022 23:50:09 +0300 Subject: systemd service ... --- systemd/rt-pupflare@.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 systemd/rt-pupflare@.service (limited to 'systemd/rt-pupflare@.service') 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 -- cgit v1.2.3