source: salt-server/trunk/fuentes/debian/salt-server.prerm @ 473

Last change on this file since 473 was 473, checked in by daduve, 4 years ago

Adding files

File size: 325 bytes
Line 
1#!/bin/sh
2set -e
3
4
5case $1 in
6        remove|purge|abort-install|disappear)
7                echo " * Stopping Salt Server "
8               
9                if [ -x "/etc/init.d/salt-server" ]; then
10                        invoke-rc.d salt-server stop || echo " -- Salt server not stopped...something happens"
11                fi
12               
13                ;;
14        *)
15                echo "Nothing to do"
16                ;;
17esac
18
19#DEBHELPER#
20
21
22
23
24               
Note: See TracBrowser for help on using the repository browser.