Debian update
This commit is contained in:
parent
fcb3553e6e
commit
18e5206b26
|
@ -2,7 +2,7 @@ Source: ldap-account-manager
|
||||||
Maintainer: Roland Gruber <post@rolandgruber.de>
|
Maintainer: Roland Gruber <post@rolandgruber.de>
|
||||||
Section: web
|
Section: web
|
||||||
Priority: extra
|
Priority: extra
|
||||||
Standards-Version: 3.9.8
|
Standards-Version: 4.1.0
|
||||||
Build-Depends: debhelper (>= 9), po-debconf, cleancss, closure-compiler
|
Build-Depends: debhelper (>= 9), po-debconf, cleancss, closure-compiler
|
||||||
Homepage: https://www.ldap-account-manager.org/
|
Homepage: https://www.ldap-account-manager.org/
|
||||||
|
|
||||||
|
|
|
@ -80,11 +80,7 @@ if [ "$1" = "configure" ]; then
|
||||||
if [ "$RET" = "true" ]; then
|
if [ "$RET" = "true" ]; then
|
||||||
for server in $restart; do
|
for server in $restart; do
|
||||||
server=${server%,}
|
server=${server%,}
|
||||||
if [ `which systemctl` ]; then
|
if [ `which invoke-rc.d` ]; then
|
||||||
if [ "`systemctl is-active ${server}.service`" = "active" ]; then
|
|
||||||
systemctl reload ${server}.service
|
|
||||||
fi
|
|
||||||
elif [ `which invoke-rc.d` ]; then
|
|
||||||
invoke-rc.d $server reload
|
invoke-rc.d $server reload
|
||||||
elif [ `which service` ]; then
|
elif [ `which service` ]; then
|
||||||
service $server reload
|
service $server reload
|
||||||
|
|
|
@ -41,11 +41,7 @@ if [ -f /usr/share/debconf/confmodule ]; then
|
||||||
set -e
|
set -e
|
||||||
for server in $restart; do
|
for server in $restart; do
|
||||||
server=${server%,}
|
server=${server%,}
|
||||||
if [ `which systemctl` ]; then
|
if [ `which invoke-rc.d` ]; then
|
||||||
if [ "`systemctl is-active ${server}.service`" = "active" ]; then
|
|
||||||
systemctl reload ${server}.service
|
|
||||||
fi
|
|
||||||
elif [ `which invoke-rc.d` ]; then
|
|
||||||
invoke-rc.d $server reload
|
invoke-rc.d $server reload
|
||||||
elif [ `which service` ]; then
|
elif [ `which service` ]; then
|
||||||
service $server reload
|
service $server reload
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue