From 301161a7a4bda27c7ebd54c537dfec0cbc926365 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 20 Dec 2021 20:07:00 -0500 Subject: use HEAD in git URIs to point to the default branch This makes the URIs shorter and dynamic: whatever the default branch the repo uses will be used. --- service-script-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service-script-guide.md') diff --git a/service-script-guide.md b/service-script-guide.md index e5c61f8d..38b9c55d 100644 --- a/service-script-guide.md +++ b/service-script-guide.md @@ -350,7 +350,7 @@ pidfile="@piddir@/${RC_SVCNAME}.pid" ``` A decent example of this is the [Nagios core service -script](https://github.com/NagiosEnterprises/nagioscore/blob/master/openrc-init.in), +script](https://github.com/NagiosEnterprises/nagioscore/blob/HEAD/openrc-init.in), where the full path to the PID file is specified at build-time. ## Don't let the user control the PID file location -- cgit v1.2.3