user unit lel
This commit is contained in:
parent
aaa9ffb66f
commit
3a8aee3d82
|
@ -3,18 +3,9 @@ Description=w0bm IRC Bot
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=ircbot
|
ExecStart=%h/w0bmircbot/index.js
|
||||||
Group=ircbot
|
|
||||||
WorkingDirectory=/home/ircbot/w0bm
|
|
||||||
ExecStart=/home/gz/.nvm/nvm-exec node . w0bm IRC Bot
|
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=3
|
RestartSec=3
|
||||||
StandardOutput=syslog
|
|
||||||
StandardError=syslog
|
|
||||||
SyslogIdentifier=w0bmIRC
|
|
||||||
Environment=NODE_ENV=production
|
|
||||||
Environment=NODE_VERSION=lts/carbon
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=default.target
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user