mirror of
https://github.com/nioc/xmpp-bot.git
synced 2024-11-10 03:56:48 +01:00
16 lines
362 B
Desktop File
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
|