added systemd-service file
This commit is contained in:
parent
01875bc0b3
commit
2b30557a14
1 changed files with 12 additions and 0 deletions
12
remex.service
Normal file
12
remex.service
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
[Unit]
|
||||||
|
Description=remex
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
Group=root
|
||||||
|
WorkingDirectory=/opt/remex
|
||||||
|
ExecStart=/opt/nvm/nvm-exec node remex.js
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in a new issue