mirror of
https://github.com/outbackdingo/sysadm.git
synced 2026-01-27 10:20:26 +00:00
Add stop fix for supervisor. Requires new openrc-run patch in freebsd base.
This commit is contained in:
@@ -29,3 +29,23 @@ start_pre()
|
||||
{
|
||||
ssl_keygen "$1"
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
t=$(mktemp)
|
||||
for pid in $(cat $pidfile) ; do
|
||||
echo $pid >$t
|
||||
pidfile=$t default_stop
|
||||
done
|
||||
rm -f $t
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
t=$(mktemp)
|
||||
for pid in $(cat $pidfile) ; do
|
||||
echo $pid >$t
|
||||
pidfile=$t default_stop
|
||||
done
|
||||
rm -f $t
|
||||
}
|
||||
|
||||
@@ -31,3 +31,13 @@ start_pre()
|
||||
{
|
||||
ssl_keygen "$1"
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
t=$(mktemp)
|
||||
for pid in $(cat $pidfile) ; do
|
||||
echo $pid >$t
|
||||
pidfile=$t default_stop
|
||||
done
|
||||
rm -f $t
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user