author | Jakub Narebski <jnareb@gmail.com> | |
Fri, 28 May 2010 19:11:23 +0000 (21:11 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 2 Jun 2010 18:49:24 +0000 (11:49 -0700) | ||
commit | d1127622f5e4aa2abf6b492f6e43c0e17c3e0442 | |
tree | 6219f2939b27b665557def5b7bdf15823aff8587 | tree | snapshot |
parent | c0cb4ed3e653a37a53ef3a1e08daa42ac9cbc3fc | commit | diff |
git-instaweb: Remove pidfile after stopping web server
This way running e.g. "git instaweb" after "git instaweb --stop" would
not try to kill already stopped web server.
This is probably important only for those web servers that are
"daemonized" by git-instaweb itself, i.e. for those where it is
git-instaweb that creates pidfile. Currently it is includes only
'mongoose' web server, but it would also include 'plackup' web server
(added in later commit).
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Acked-by: Petr Baudis <pasky@suse.cz>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This way running e.g. "git instaweb" after "git instaweb --stop" would
not try to kill already stopped web server.
This is probably important only for those web servers that are
"daemonized" by git-instaweb itself, i.e. for those where it is
git-instaweb that creates pidfile. Currently it is includes only
'mongoose' web server, but it would also include 'plackup' web server
(added in later commit).
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Acked-by: Petr Baudis <pasky@suse.cz>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-instaweb.sh | diff | blob | history |