Browse Source

Fixes reloading on remove to always succeed.

master
damencho 4 years ago
parent
commit
9344138303

+ 1
- 1
debian/jitsi-meet-prosody.postrm View File

@@ -25,7 +25,7 @@ set -e
25 25
 case "$1" in
26 26
     remove)
27 27
         if [ -x "/etc/init.d/prosody" ]; then
28
-            invoke-rc.d prosody reload
28
+            invoke-rc.d prosody reload || true
29 29
         fi
30 30
     ;;
31 31
 

+ 1
- 1
debian/jitsi-meet-tokens.postrm View File

@@ -44,7 +44,7 @@ case "$1" in
44 44
             sed -i 's/ -- "token_verification"/   "token_verification"/g' $PROSODY_HOST_CONFIG
45 45
 
46 46
             if [ -x "/etc/init.d/prosody" ]; then
47
-                invoke-rc.d prosody restart
47
+                invoke-rc.d prosody restart || true
48 48
             fi
49 49
         fi
50 50
 

+ 2
- 2
debian/jitsi-meet-web-config.postrm View File

@@ -25,10 +25,10 @@ set -e
25 25
 case "$1" in
26 26
     remove)
27 27
         if [ -x "/etc/init.d/nginx" ]; then
28
-            invoke-rc.d nginx reload
28
+            invoke-rc.d nginx reload || true
29 29
         fi
30 30
         if [ -x "/etc/init.d/apache2" ]; then
31
-            invoke-rc.d apache2 reload
31
+            invoke-rc.d apache2 reload || true
32 32
         fi
33 33
     ;;
34 34
     purge)

Loading…
Cancel
Save