File: lsb-init-functions

package info (click to toggle)
guix 1.4.0-9
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 161,500 kB
  • sloc: lisp: 861,023; cpp: 10,741; javascript: 9,632; sh: 8,913; makefile: 951; ansic: 558; python: 129; sql: 33; 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" ]