w0bmircbot/w0bmIRCbot.service

21 lines
387 B
SYSTEMD
Raw Normal View History

[Unit]
Description=w0bm IRC Bot
After=network-online.target
[Service]
User=ircbot
Group=ircbot
WorkingDirectory=/home/ircbot/w0bm
ExecStart=/home/gz/.nvm/nvm-exec node . w0bm IRC Bot
Restart=always
RestartSec=3
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=w0bmIRC
Environment=NODE_ENV=production
Environment=NODE_VERSION=lts/carbon
[Install]
WantedBy=multi-user.target