Re: sensord systemd unit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux