user unit lel

This commit is contained in:
Flummi 2023-07-18 13:19:59 +00:00
parent aaa9ffb66f
commit 3a8aee3d82

View File

@ -3,18 +3,9 @@ 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
ExecStart=%h/w0bmircbot/index.js
Restart=always
RestartSec=3
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=w0bmIRC
Environment=NODE_ENV=production
Environment=NODE_VERSION=lts/carbon
[Install]
WantedBy=multi-user.target
WantedBy=default.target