source: salt-server/trunk/fuentes/debian/salt-server.postinst

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

Adding files

File size: 353 bytes
Line 
1#!/bin/sh
2set -e
3
4
5set -e
6
7case $1 in
8
9        configure)
10                if [ -x "/etc/init.d/salt-server" ]; then
11                        echo " * Updated RC with Salt Server"
12                        update-rc.d salt-server start 20 1 2 3 4 5 . stop 0 1 6 .
13                        invoke-rc.d salt-server start || echo " * Salt server not running (Are you on Bootstrap?)"
14                fi
15                ;;
16        *)
17                echo "Nothing to do"
18                ;;
19esac
20
21#DEBHELPER#
Note: See TracBrowser for help on using the repository browser.