added systemd-service file

This commit is contained in:
Daniel Sommer 2022-03-18 16:07:13 +01:00
parent 01875bc0b3
commit 2b30557a14

12
remex.service Normal file
View 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