All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [lm-sensors] sensord systemd unit
@ 2013-05-24 12:57 Jean Delvare
  0 siblings, 0 replies; 2+ messages in thread
From: Jean Delvare @ 2013-05-24 12:57 UTC (permalink / raw)
  To: lm-sensors

Hi Nikola,

Sorry for the late reply :(

On Mon, 13 Feb 2012 14:37:22 +0100, Nikola Pajkovsky wrote:
> --- prog/init/sensord.systemd	(revision 0)
> +++ prog/init/sensord.systemd	(revision 0)
> @@ -0,0 +1,11 @@
> +[Unit]
> +Description=Sensor Information Logging

I added:
After=syslog.target

> +
> +[Service]
> +Type=forking
> +EnvironmentFile=-/etc/sysconfig/sensord

I removed the "-", as the environment file is mandatory, otherwise the
ExecStart below will fail, right?

> +PIDFile=/run/sensord.pid
> +ExecStart=/usr/sbin/sensord -i $INTERVAL -l $LOG_INTERVAL -f daemon
> +
> +[Install]
> +WantedBy=multi-user.target

Applied, thanks!

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [lm-sensors] sensord systemd unit
@ 2012-02-13 13:37 Nikola Pajkovsky
  0 siblings, 0 replies; 2+ messages in thread
From: Nikola Pajkovsky @ 2012-02-13 13:37 UTC (permalink / raw)
  To: lm-sensors

--- prog/init/sensord.systemd	(revision 0)
+++ prog/init/sensord.systemd	(revision 0)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Sensor Information Logging
+
+[Service]
+Type=forking
+EnvironmentFile=-/etc/sysconfig/sensord
+PIDFile=/run/sensord.pid
+ExecStart=/usr/sbin/sensord -i $INTERVAL -l $LOG_INTERVAL -f daemon
+
+[Install]
+WantedBy=multi-user.target

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-24 12:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-24 12:57 [lm-sensors] sensord systemd unit Jean Delvare
  -- strict thread matches above, loose matches on Subject: below --
2012-02-13 13:37 Nikola Pajkovsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.