Improve unit file and instructions
parent
71e425d39f
commit
0e5159fdfc
@ -1,13 +1,14 @@
|
||||
[Unit]
|
||||
Description=matrix-bridge-voxtelesys
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
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
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue