File: 01_init_script_additions.patch

package info (click to toggle)
memcached 1.5.6-1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,696 kB
  • sloc: ansic: 16,931; perl: 5,523; sh: 4,302; xml: 1,638; python: 393; makefile: 170
file content (29 lines) | stat: -rw-r--r-- 875 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Author: Peter Eisentraut <petere@debian.org>
Description: LSB requirements
Origin: https://bugs.debian.org/528689, https://bugs.debian.org/709163
Last-Update: 2016-03-20

Index: memcached/scripts/memcached-init
===================================================================
--- memcached.orig/scripts/memcached-init
+++ memcached/scripts/memcached-init
@@ -1,8 +1,8 @@
 #! /bin/bash
 ### BEGIN INIT INFO
 # Provides:          memcached
-# Required-Start:    $syslog
-# Required-Stop:     $syslog
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
 # Should-Start:        $local_fs
 # Should-Stop:        $local_fs
 # Default-Start:     2 3 4 5
@@ -35,6 +35,8 @@ test -x $DAEMONBOOTSTRAP || exit 0
 
 set -e
 
+. /lib/lsb/init-functions
+
 FILES=(/etc/memcached_*.conf)
 # check for alternative config schema
 if [ -r "${FILES[0]}" ]; then