Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 743856 - net-irc/znc-1.8.2: please fix systemd service file
Summary: net-irc/znc-1.8.2: please fix systemd service file
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Louis Sautier (sbraz)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-20 22:50 UTC by Sven
Modified: 2020-09-22 09:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven 2020-09-20 22:50:41 UTC
The current ExecStart line is broken. It should be
ExecStart=/usr/bin/znc -f --datadir=/var/lib/znc/

Otherwise, znc will be looking in /var/lib/znc/.znc for the configs folder.

Workaround: create a symlink from /var/lib/znc/.znc to /var/lib/znc/

Reproducible: Always
Comment 1 Louis Sautier (sbraz) gentoo-dev 2020-09-22 08:53:45 UTC
(In reply to Sven from comment #0)
> The current ExecStart line is broken. It should be
> ExecStart=/usr/bin/znc -f --datadir=/var/lib/znc/
> 
> Otherwise, znc will be looking in /var/lib/znc/.znc for the configs folder.
> 
> Workaround: create a symlink from /var/lib/znc/.znc to /var/lib/znc/
> 
> Reproducible: Always

Hi,
What is the problem with that, did you migrate from OpenRC to systemd?
I don't really want to change the unit, upstream provides it this way and if we change it, it will break everyone's configs.