Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515644 - net-misc/lldpd - add systemd unit
Summary: net-misc/lldpd - add systemd unit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2014-06-29 06:25 UTC by Christian Roessner
Modified: 2014-07-01 18:02 UTC (History)
1 user (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 Christian Roessner 2014-06-29 06:25:44 UTC
Please provide a systemd unit. Mine looks like this:

[Unit]
Description=Link Layer Discovery Protocol daemon
After=syslog.target
After=network.target

[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=/etc/conf.d/lldpd
StandardOutput=syslog
ExecStart=/usr/sbin/lldpd $LLDPD_OPTS

[Install]
WantedBy=multi-user.target
Comment 1 Patrick McLean gentoo-dev 2014-07-01 01:23:00 UTC
systemd team: does that look reasonable to you?
Comment 2 Pacho Ramos gentoo-dev 2014-07-01 08:52:05 UTC
We prefer to not use conf.d files at all, specially in cases like this one that don't really need it apart of letting people to append random options that could break the unit file if not modified accordingly

StandardOutput=syslog is not needed and, as EnvironmentFile is not used, $LLDPD_OPTS should be dropped too
Comment 3 Patrick McLean gentoo-dev 2014-07-01 18:02:31 UTC
Fixed in net-misc/lldpd-0.7.9