diff options
author | Colin Guthrie <colin@mageia.org> | 2014-02-09 14:52:38 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2014-02-09 14:52:38 +0000 |
commit | 91fa1d1d7bb7a6a2441a65e6f9889153b84cad14 (patch) | |
tree | 44555c3942fe43479fada0a2e23ff794c4cfa03c /modules/gitmirror/templates/on-the-pull.init | |
parent | cbc3cf56eb11ff5211981b9f517da4a1fd37d2b8 (diff) | |
download | puppet-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/templates/on-the-pull.init')
-rwxr-xr-x | modules/gitmirror/templates/on-the-pull.init | 1 |
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() { |