From: Michael Nosthoff <buildroot@heine.tech>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 4/8] package/htpdate: use /run for PIDFile
Date: Wed, 16 Sep 2020 13:45:04 +0200 [thread overview]
Message-ID: <20200916114508.3575-5-buildroot@heine.tech> (raw)
In-Reply-To: <20200915215645.2010-1-buildroot@heine.tech>
- rename pidfile from htpdate to htpdate.pid
Fixes:
PIDFile= references a path below legacy directory /var/run/, updating
/var/run/htpdate.pid ? /run/htpdate.pid; please update the unit file
accordingly.
Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
---
package/htpdate/htpdate.service | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/htpdate/htpdate.service b/package/htpdate/htpdate.service
index 0c77550813..b7f1371b08 100644
--- a/package/htpdate/htpdate.service
+++ b/package/htpdate/htpdate.service
@@ -4,10 +4,10 @@ After=network.target
[Service]
Type=forking
-PIDFile=/var/run/htpdate
+PIDFile=/run/htpdate.pid
Environment=HTPDATE_ARGS="-a -s -t https://www.google.com"
EnvironmentFile=-/etc/default/htpdate
-ExecStart=/usr/bin/htpdate -D -i /var/run/htpdate $HTPDATE_ARGS
+ExecStart=/usr/bin/htpdate -D -i /run/htpdate.pid $HTPDATE_ARGS
[Install]
WantedBy=multi-user.target
--
2.25.1
next prev parent reply other threads:[~2020-09-16 11:45 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-15 19:49 [Buildroot] [PATCH] package/nginx: use /run for PIDFile Michael Nosthoff
2020-09-15 20:25 ` Thomas Petazzoni
2020-09-15 20:54 ` Michael Nosthoff
2020-09-15 21:56 ` [Buildroot] [PATCH v2] package/{bandwithd, dhcpcd, htpdate, minidlna, nginx, nss-pam-ldapd, openvmtools}: use PIDFile=/run in systemd services Michael Nosthoff
2020-09-16 6:45 ` Thomas Petazzoni
2020-09-16 9:29 ` Michael Nosthoff
2020-09-16 11:45 ` [Buildroot] [PATCH v3 0/8] systemd .service pidfiles in /run Michael Nosthoff
2020-09-16 15:33 ` Michael Nosthoff
2020-09-16 11:45 ` [Buildroot] [PATCH v3 1/8] package/nginx: use /run for PIDFile Michael Nosthoff
2020-09-16 11:45 ` [Buildroot] [PATCH v3 2/8] package/bandwithd: " Michael Nosthoff
2020-09-16 11:45 ` [Buildroot] [PATCH v3 3/8] package/dhcpcd: " Michael Nosthoff
2020-09-16 11:45 ` Michael Nosthoff [this message]
2020-09-16 11:45 ` [Buildroot] [PATCH v3 5/8] package/minidlna: " Michael Nosthoff
2020-09-16 11:45 ` [Buildroot] [PATCH v3 6/8] package/nss-pam-ldapd: " Michael Nosthoff
2020-09-16 11:45 ` [Buildroot] [PATCH v3 7/8] package/openvmtools: " Michael Nosthoff
2020-09-16 11:45 ` [Buildroot] [PATCH v3 8/8] package/postgresql: remove PIDFile from .service Michael Nosthoff
2020-09-16 15:33 ` [Buildroot] [PATCH v3 0/8] systemd .service pidfiles in /run Michael Nosthoff
2020-09-16 15:35 ` [Buildroot] [PATCH v3 1/8] package/nginx: use /run for PIDFile Michael Nosthoff
2020-09-16 15:35 ` [Buildroot] [PATCH v3 2/8] package/bandwithd: " Michael Nosthoff
2020-09-16 15:35 ` [Buildroot] [PATCH v3 3/8] package/dhcpcd: " Michael Nosthoff
2020-09-16 15:35 ` [Buildroot] [PATCH v3 4/8] package/htpdate: " Michael Nosthoff
2020-09-16 15:35 ` [Buildroot] [PATCH v3 5/8] package/minidlna: " Michael Nosthoff
2020-09-16 15:35 ` [Buildroot] [PATCH v3 6/8] package/nss-pam-ldapd: " Michael Nosthoff
2020-09-16 15:35 ` [Buildroot] [PATCH v3 7/8] package/openvmtools: " Michael Nosthoff
2020-09-16 15:35 ` [Buildroot] [PATCH v3 8/8] package/postgresql: remove PIDFile from .service Michael Nosthoff
2020-09-19 13:18 ` [Buildroot] [PATCH v3 1/8] package/nginx: use /run for PIDFile Thomas Petazzoni
2020-09-28 20:59 ` Peter Korsgaard
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=20200916114508.3575-5-buildroot@heine.tech \
--to=buildroot@heine.tech \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox