Package: pyro4 / 4.23-1

initscript_source_init_functions.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: source init functions for systemd support
 Support systemd configurations.
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Last-Update: 2013-09-19

---

--- pyro4-4.22.orig/contrib/init.d/pyro4-nsd
+++ pyro4-4.22/contrib/init.d/pyro4-nsd
@@ -40,6 +40,8 @@ export PYRO_HMAC_KEY=12345
 export PYRO_LOGFILE="$MESSAGELOG"
 export PYRO_LOGLEVEL=DEBUG
 
+. /lib/lsb/init-functions
+
 # Check the script is being run by root user
 if [ "$(id -u)" != "0" ]; then
   echo 1>&2 "ERROR: The $0 script must be run as root"