Debian update

This commit is contained in:
Roland Gruber 2017-09-28 17:57:46 +02:00
parent fcb3553e6e
commit 18e5206b26
4 changed files with 3 additions and 605 deletions

View File

@ -2,7 +2,7 @@ Source: ldap-account-manager
Maintainer: Roland Gruber <post@rolandgruber.de>
Section: web
Priority: extra
Standards-Version: 3.9.8
Standards-Version: 4.1.0
Build-Depends: debhelper (>= 9), po-debconf, cleancss, closure-compiler
Homepage: https://www.ldap-account-manager.org/

View File

@ -80,11 +80,7 @@ if [ "$1" = "configure" ]; then
if [ "$RET" = "true" ]; then
for server in $restart; do
server=${server%,}
if [ `which systemctl` ]; then
if [ "`systemctl is-active ${server}.service`" = "active" ]; then
systemctl reload ${server}.service
fi
elif [ `which invoke-rc.d` ]; then
if [ `which invoke-rc.d` ]; then
invoke-rc.d $server reload
elif [ `which service` ]; then
service $server reload

View File

@ -41,11 +41,7 @@ if [ -f /usr/share/debconf/confmodule ]; then
set -e
for server in $restart; do
server=${server%,}
if [ `which systemctl` ]; then
if [ "`systemctl is-active ${server}.service`" = "active" ]; then
systemctl reload ${server}.service
fi
elif [ `which invoke-rc.d` ]; then
if [ `which invoke-rc.d` ]; then
invoke-rc.d $server reload
elif [ `which service` ]; then
service $server reload

File diff suppressed because one or more lines are too long