Add systemd unit
This commit is contained in:
parent
01866728bf
commit
fb2079e731
13
matrix-bridge-voxtelesys.service
Normal file
13
matrix-bridge-voxtelesys.service
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=matrix-bridge-voxtelesys
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
User=matrix-bridge-voxtelesys
|
||||||
|
Group=users
|
||||||
|
ExecStart=/usr/bin/node /opt/matrix-bridge-voxtelesys/main.js
|
||||||
|
ExecStop=/bin/kill -9 $MAINPID
|
||||||
|
Restart=always
|
||||||
|
RestartSec=15
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user