[debian-edu-commits] debian-edu/ 01/01: d/debian-edu-config.postinst: Replace 'service' with 'invoke-rc.d'; thanks to Petter for the hint.

Wolfgang Schweer schweer-guest at moszumanska.debian.org
Sat Jul 15 21:35:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

schweer-guest pushed a commit to branch master
in repository debian-edu-config.

commit ddd6f4df1b058cb72c08a1e57bda55b80df26683
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Sat Jul 15 23:29:17 2017 +0200

    d/debian-edu-config.postinst: Replace 'service' with 'invoke-rc.d';
    thanks to Petter for the hint.
---
 debian/debian-edu-config.postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/debian-edu-config.postinst b/debian/debian-edu-config.postinst
index d3354b1..9ba1406 100644
--- a/debian/debian-edu-config.postinst
+++ b/debian/debian-edu-config.postinst
@@ -136,7 +136,7 @@ configure)
 	    ln -s /etc/apache2/mods-available/userdir.load /etc/apache2/mods-available/debian-edu-userdir.load
 	fi
 	a2enmod debian-edu-userdir
-        service apache2 restart
+        invoke-rc.d apache2 restart
     fi
 
     if dpkg --compare-versions "$2" le "1.818+deb8u1" && [ -L /usr/bin/firefox-esr ] ; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-config.git



More information about the debian-edu-commits mailing list