Roxen.git/
server/
start
Branch:
Tag:
Non-build tags
All tags
No tags
2002-01-03
2002-01-03 13:07:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>
98a3d734bf594886871610fc93b806b8d3db2718 (
5
lines) (+
4
/-
1
)
[
Show
|
Annotate
]
Branch:
2.2
Clean up the pid file at server version change.
Fixes [bug
2639 (#2639)
].
Rev: server/start:1.191
1:
#!/bin/sh #
-
# $Id: start,v 1.
190
2001
/
11
/
21
22
:
35
:
14
mast
Exp $
+
# $Id: start,v 1.
191
2002
/
01
/
03
13
:
07
:
12
grubba
Exp $
### If --silent-start is given as the first argument, ### nothing will be printed to stdout by the script.
851:
case "$exitcode" in 100) dp "Changing Roxen WebServer version. Restarting."
+
# We need to clean up the pid file, since we're mentioned in it...
+
cleanup_pid_file
cd .. && exec ./start "$@" dp 'Failed to spawn start script. -- Permission problem?' exit 1