Add example systemd unit
This commit is contained in:
parent
813d93f01d
commit
f8ab65d9ba
12
freepbx-manager.service
Normal file
12
freepbx-manager.service
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
[Unit]
|
||||||
|
Description=FreePBX Manager Bot
|
||||||
|
Documentation=https://git.chrischro.me/ChrisChrome/discord-freepbx-manager
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/node /path/to/discord-freepbx-manager/index.js
|
||||||
|
WorkingDirectory=/path/to/discord-freepbx-manager
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in a new issue