aboutsummaryrefslogtreecommitdiffstats
path: root/modules/gitmirror
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-02-09 14:52:38 +0000
committerColin Guthrie <colin@mageia.org>2014-02-09 14:52:38 +0000
commit91fa1d1d7bb7a6a2441a65e6f9889153b84cad14 (patch)
tree44555c3942fe43479fada0a2e23ff794c4cfa03c /modules/gitmirror
parentcbc3cf56eb11ff5211981b9f517da4a1fd37d2b8 (diff)
downloadpuppet-91fa1d1d7bb7a6a2441a65e6f9889153b84cad14.tar
puppet-91fa1d1d7bb7a6a2441a65e6f9889153b84cad14.tar.gz
puppet-91fa1d1d7bb7a6a2441a65e6f9889153b84cad14.tar.bz2
puppet-91fa1d1d7bb7a6a2441a65e6f9889153b84cad14.tar.xz
puppet-91fa1d1d7bb7a6a2441a65e6f9889153b84cad14.zip
gitmirror: Clear out lock subsys on stop
Diffstat (limited to 'modules/gitmirror')
-rwxr-xr-xmodules/gitmirror/templates/on-the-pull.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gitmirror/templates/on-the-pull.init b/modules/gitmirror/templates/on-the-pull.init
index 0c575b77..adee5643 100755
--- a/modules/gitmirror/templates/on-the-pull.init
+++ b/modules/gitmirror/templates/on-the-pull.init
@@ -29,6 +29,7 @@ start() {
stop() {
gprintf "Stopping On-The-Pull Git Mirror Daemon: "
killproc -p $pidfile on-the-pull
+ rm -f /var/lock/subsys/on-the-pull
}
restart() {