Summary: | net-libs/openslp: add systemd service unit | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Reuben Martin <reuben.m> |
Component: | Current packages | Assignee: | Printing Team <printing> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | systemd |
Priority: | Normal | Keywords: | NeedPatch |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 448882 |
Description
Reuben Martin
2013-09-15 17:34:42 UTC
I cannot even start slpd manually :/ # slpd -d -c /etc/slp.conf -r /etc/slp.reg -s /etc/slp.spi USAGE: slpd [-d] [-c conf file] [-l log file] [-r reg file] [-s spi file] [-v version] A FATAL Error has occured: Invalid command line Sorry I apparently missed the replies to this report. Unfortunately some of the path options given are not actually used. The config file path seems to be hard coded. I've been using the following service successfully: [Unit] Description=Service Location Protocol After=network-online.target [Service] Type=forking PIDFile=/run/slpd.pid ExecStart=/usr/sbin/slpd -p /run/slpd.pid -l /var/log/slpd.log ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=network.target Helps me be able to use and find some really really old clunky printers at work. +*openslp-1.2.1-r3 (30 Mar 2014) + + 30 Mar 2014; Pacho Ramos <pacho@gentoo.org> +files/slpd.service, + +openslp-1.2.1-r3.ebuild, openslp-2.0.0.ebuild: + Add unit file (#485028 by Reuben Martin) + |