Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envsetup
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mediaserver
envsetup
Commits
d0c02e41
Commit
d0c02e41
authored
7 years ago
by
Stéphane Diemer
Browse files
Options
Downloads
Patches
Plain Diff
Added restart on apt cacher.
parent
bd4f6c99
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
6.CampusManager/2.Configure_apt_cacher_ng/0_setup.py
+4
-0
4 additions, 0 deletions
6.CampusManager/2.Configure_apt_cacher_ng/0_setup.py
with
4 additions
and
0 deletions
6.CampusManager/2.Configure_apt_cacher_ng/0_setup.py
+
4
−
0
View file @
d0c02e41
...
@@ -24,3 +24,7 @@ def setup(interactive=True):
...
@@ -24,3 +24,7 @@ def setup(interactive=True):
utils
.
log
(
'
File
"
%s
"
already up to date.
'
%
path
)
utils
.
log
(
'
File
"
%s
"
already up to date.
'
%
path
)
else
:
else
:
utils
.
log
(
'
The configuration file
"
%s
"
does not exist, nothing to do.
'
%
path
)
utils
.
log
(
'
The configuration file
"
%s
"
does not exist, nothing to do.
'
%
path
)
cmds
=
[
'
service apt-cacher-ng restart
'
,
]
utils
.
run_commands
(
cmds
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment