projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d02bbf6
)
Fix typo in variable. Now tested on Solaris and Linux, with defaults.
author
hal9
<hal9@users.sourceforge.net>
Wed, 11 Sep 2002 01:15:02 +0000
(
01:15
+0000)
committer
hal9
<hal9@users.sourceforge.net>
Wed, 11 Sep 2002 01:15:02 +0000
(
01:15
+0000)
privoxy-generic.init
patch
|
blob
|
history
diff --git
a/privoxy-generic.init
b/privoxy-generic.init
index
a6d07ae
..
dbf2203
100755
(executable)
--- a/
privoxy-generic.init
+++ b/
privoxy-generic.init
@@
-39,6
+39,9
@@
#
# Revisions :
# $Log: privoxy-generic.init,v $
#
# Revisions :
# $Log: privoxy-generic.init,v $
+# Revision 1.3 2002/09/11 01:09:14 hal9
+# Better handling of pidfile, and process owner.
+#
# Revision 1.2 2002/09/08 20:27:58 hal9
# -Rewrote script config section.
# -Added comments to script.
# Revision 1.2 2002/09/08 20:27:58 hal9
# -Rewrote script config section.
# -Added comments to script.
@@
-94,7
+97,7
@@
case "$1" in
start)
if [ -f $P_PIDFILE ]; then
if kill -0 `cat $P_PIDFILE`; then
start)
if [ -f $P_PIDFILE ]; then
if kill -0 `cat $P_PIDFILE`; then
- echo "Error: $NAME is already running, exiting."
+ echo "Error: $
P_
NAME is already running, exiting."
exit 1
else
rm -f $P_PIDFILE
exit 1
else
rm -f $P_PIDFILE