All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] sensord systemd unit
Date: Fri, 24 May 2013 12:57:42 +0000	[thread overview]
Message-ID: <20130524145742.0320c382@endymion.delvare> (raw)

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

             reply	other threads:[~2013-05-24 12:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-24 12:57 Jean Delvare [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-02-13 13:37 [lm-sensors] sensord systemd unit Nikola Pajkovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130524145742.0320c382@endymion.delvare \
    --to=khali@linux-fr.org \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.