xmpp-bot/docs/xmpp-bot.service

16 lines
362 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/lib/
ExecStart=/usr/bin/node /usr/local/bin/xmpp-bot/lib/server.js
Restart=on-failure
RestartSec=1000ms
Environment=NODE_ENV=production
SyslogIdentifier=xmpp-bot
[Install]
WantedBy=multi-user.target