diff options
author | Alan Pevec <apevec@redhat.com> | 2011-11-29 01:05:53 +0100 |
---|---|---|
committer | Alan Pevec <apevec@redhat.com> | 2011-11-29 01:54:26 +0100 |
commit | 6960771aa31ad4e5f606e507d471f4a90a6f2559 (patch) | |
tree | 6d251d9348e144144524488b812963c7c9c6c952 /collectd.service | |
parent | dbe9323091707f36c57f30e1bbd41813e8b95000 (diff) | |
download | collectd-6960771aa31ad4e5f606e507d471f4a90a6f2559.tar.gz collectd-6960771aa31ad4e5f606e507d471f4a90a6f2559.tar.xz collectd-6960771aa31ad4e5f606e507d471f4a90a6f2559.zip |
Add systemd service file.
(thanks Paul P. Komkoff Jr)
rhbz#754460
Diffstat (limited to 'collectd.service')
-rw-r--r-- | collectd.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/collectd.service b/collectd.service new file mode 100644 index 0000000..523831c --- /dev/null +++ b/collectd.service @@ -0,0 +1,15 @@ +[Unit] +Description=Collectd +After=local-fs.target network.target +Requires=local-fs.target network.target + +[Service] +EnvironmentFile=-/etc/sysconfig/collectd +ExecStart=/usr/sbin/collectd -C /etc/collectd.conf -f +Restart=always +RestartSec=10 +StandardOutput=syslog +StandardError=syslog + +[Install] +WantedBy=multi-user.target |