From 91fa1d1d7bb7a6a2441a65e6f9889153b84cad14 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 9 Feb 2014 14:52:38 +0000 Subject: gitmirror: Clear out lock subsys on stop --- modules/gitmirror/templates/on-the-pull.init | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') 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() { -- cgit v1.2.1