Package: collectd-core
Version: 5.4.1-3
Severity: normal
Tags: patch

Hi,

Please add provided systemd service file in /lib/systemd/system/ 
to the collect-core.

The debian/control & debian/rules of "collectd" package
may need to be addapted to.

https://wiki.debian.org/systemd/Packaging?action=show&redirect=Systemd%2FPackaging

With systemd, the collectdmon wrapper is not needed anymore.

If you're not yet ok with systemd, please at least put this file in:
/usr/share/doc/collectd-core/examples/


Alexandre Detiste

-- System Information:
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux testing (jessie)
Release:        testing
Codename:       jessie
Architecture: armv6l

Kernel: Linux 3.12.28+ (PREEMPT)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages collectd depends on:
ii  collectd-core  5.4.1-3
ii  libc6          2.19-11
ii  librrd4        1.4.8-1.1+b1

-- Configuration Files:
/etc/collectd/collectd.conf changed:
LoadPlugin "logfile"
LoadPlugin "rrdtool"
LoadPlugin "interface"
<Plugin "interface">
        Interface "/(veth.*|lo|br)/"
        IgnoreSelected true
</Plugin>
LoadPlugin "thermal"
<Plugin "thermal">
        Device "thermal_zone0"
        IgnoreSelected false
</Plugin>

-- no debconf information
[Unit]
Description=Collectd
After=local-fs.target remote-fs.target network.target
#After= cpufreq-utils
Requires=local-fs.target remote-fs.target network.target
ConditionFileNotEmpty=/etc/collectd/collectd.conf

[Service]
EnvironmentFile=-/etc/default/collectd
ExecStartPre=/usr/sbin/collectd -t -C /etc/collectd/collectd.conf
ExecStart=/usr/sbin/collectd -C /etc/collectd/collectd.conf -f
Restart=always
RestartSec=10
StandardOutput=syslog
StandardError=syslog
TimeoutStopSec=60s

[Install]
WantedBy=multi-user.target

Reply via email to