diff options
author | Giovanni Harting | 2021-10-26 01:54:22 +0200 |
---|---|---|
committer | Giovanni Harting | 2021-10-26 01:54:22 +0200 |
commit | 2b164c51b5d0ecea563dd088ff93a1f4bcbdf781 (patch) | |
tree | 2a8c445827a13523f21a2f98e3b0417733c69a2a /zwavejs2mqtt.service | |
download | aur-zwavejs2mqtt-git.tar.gz |
Initial upload: zwavejs2mqtt-git v5.10.0.r0.3538a6e1-1
Diffstat (limited to 'zwavejs2mqtt.service')
-rw-r--r-- | zwavejs2mqtt.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/zwavejs2mqtt.service b/zwavejs2mqtt.service new file mode 100644 index 000000000000..fe9f49d1dfde --- /dev/null +++ b/zwavejs2mqtt.service @@ -0,0 +1,16 @@ +[Unit] +Description=zwavejs2mqtt nodejs daemon +After=network.target + +[Service] +Type=simple +User=zwavejs2mqtt +Group=zwavejs2mqtt +ExecStart=/usr/bin/node /usr/share/webapps/zwavejs2mqtt/server/bin/www.js +Environment=ZWAVEJS_EXTERNAL_CONFIG=/var/lib/zwavejs2mqtt/.config-db +PrivateTmp=true +ProtectSystem=full +ProtectHome=true + +[Install] +WantedBy=multi-user.target |