Skip to content

Instantly share code, notes, and snippets.

@wh4everest
Created January 5, 2020 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wh4everest/71053c003e9c3bd38cbce21b86100f3a to your computer and use it in GitHub Desktop.
Save wh4everest/71053c003e9c3bd38cbce21b86100f3a to your computer and use it in GitHub Desktop.
whoeverest@do-server:/var/log/nginx$ sudo systemctl status znc.service
● znc.service - ZNC, an advanced IRC bouncer
Loaded: loaded (/etc/systemd/system/znc.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2020-01-05 17:19:49 UTC; 2min 38s ago
Process: 2255 ExecStart=/usr/bin/znc -f --datadir=/var/lib/znc (code=exited, status=217/USER)
Main PID: 2255 (code=exited, status=217/USER)
Jan 05 17:19:49 do-server systemd[1]: Started ZNC, an advanced IRC bouncer.
Jan 05 17:19:49 do-server systemd[2255]: znc.service: Failed at step USER spawning /usr/bin/znc: No such process
Jan 05 17:19:49 do-server systemd[1]: znc.service: Main process exited, code=exited, status=217/USER
Jan 05 17:19:49 do-server systemd[1]: znc.service: Unit entered failed state.
Jan 05 17:19:49 do-server systemd[1]: znc.service: Failed with result 'exit-code'.
whoeverest@do-server:/var/log/nginx$ /usr/bin/znc --version
ZNC 1.6.3+deb1ubuntu0.2 - http://znc.in
IPv6: yes, SSL: yes, DNS: threads, charset: yes
[Unit]
Description=ZNC, an advanced IRC bouncer
After=network-online.target
[Service]
ExecStart=/usr/bin/znc -f --datadir=/var/lib/znc
User=znc
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment