xmpp-bot/docs/xmpp-bot.service
2019-10-13 03:38:25 +02:00

16 lines
354 B
Desktop File

[Unit]
Description=XMPP Bot
Documentation=https://github.com/nioc/xmpp-bot
After=network.target
[Service]
User=xmpp-bot
WorkingDirectory=/usr/local/bin/xmpp-bot/
ExecStart=/usr/bin/node /usr/local/bin/xmpp-bot/server.js
Restart=on-failure
RestartSec=1000ms
Environment=NODE_ENV=production
SyslogIdentifier=xmpp-bot
[Install]
WantedBy=multi-user.target