From d0c02e41f8aabd1f798d2fc3bc75f47e4d79ceff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Diemer?= <stephane.diemer@ubicast.eu> Date: Wed, 17 May 2017 16:44:16 +0200 Subject: [PATCH] Added restart on apt cacher. --- 6.CampusManager/2.Configure_apt_cacher_ng/0_setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/6.CampusManager/2.Configure_apt_cacher_ng/0_setup.py b/6.CampusManager/2.Configure_apt_cacher_ng/0_setup.py index c3aff1dd..7c9125c9 100755 --- a/6.CampusManager/2.Configure_apt_cacher_ng/0_setup.py +++ b/6.CampusManager/2.Configure_apt_cacher_ng/0_setup.py @@ -24,3 +24,7 @@ def setup(interactive=True): utils.log('File "%s" already up to date.' % path) else: utils.log('The configuration file "%s" does not exist, nothing to do.' % path) + cmds = [ + 'service apt-cacher-ng restart', + ] + utils.run_commands(cmds) -- GitLab