added systemd-service

This commit is contained in:
Daniel Sommer 2022-02-16 01:35:34 +01:00
parent bf1242f350
commit 09d9a90ff1

11
ninwa.service Normal file
View file

@ -0,0 +1,11 @@
[Unit]
Description=ninwa (node input watcher)
[Service]
Type=simple
User=ninwa
Group=ninwa
ExecStart=node /path/to/ninwa/ninwa.js
[Install]
WantedBy=multi-user.target