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 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