mirror of
https://github.com/nioc/xmpp-bot.git
synced 2024-11-13 21:36:49 +01:00
16 lines
358 B
Desktop File
16 lines
358 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/lib/server.js
|
|
Restart=on-failure
|
|
RestartSec=1000ms
|
|
Environment=NODE_ENV=production
|
|
SyslogIdentifier=xmpp-bot
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|