File: lsb-init-functions

package info (click to toggle)
guix 1.4.0%2B154928%2Bf1810-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 269,976 kB
  • sloc: lisp: 1,247,465; cpp: 10,769; javascript: 9,632; sh: 9,607; makefile: 1,103; ansic: 573; python: 78; php: 76; sql: 33; xml: 31; sed: 16
file content (16 lines) | stat: -rw-r--r-- 473 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
https://lintian.debian.org/tags/init.d-script-does-not-source-init-functions.html

Index: guix-debian/etc/init.d/guix-daemon.in
===================================================================
--- guix-debian.orig/etc/init.d/guix-daemon.in
+++ guix-debian/etc/init.d/guix-daemon.in
@@ -16,6 +16,9 @@ then
   exit 5
 fi
 
+# Source common functions used by init scripts in Debian
+. /lib/lsb/init-functions
+
 case "$1" in
 start)
   if [ -f "/var/run/guix-daemon.pid" ]