added systemd-service
This commit is contained in:
parent
bf1242f350
commit
09d9a90ff1
1 changed files with 11 additions and 0 deletions
11
ninwa.service
Normal file
11
ninwa.service
Normal 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
|
Loading…
Reference in a new issue