Add example systemd unit

This commit is contained in:
Christopher Cookman 2024-06-18 21:53:13 -06:00
parent 813d93f01d
commit f8ab65d9ba
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

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