Browse Source

Fixes reloading on remove to always succeed.

master
damencho 5 years ago
parent
commit
9344138303

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

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

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

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

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

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

Loading…
Cancel
Save