Import Debian changes 1.0.26-1
tinc (1.0.26-1) unstable; urgency=medium
* New upstream release.
* Use the contents, not the presence, of the pidfile to check that tincd is
shut down properly. Closes: #774682
* Bump Standards-Version.
This commit is contained in:
commit
088ed763df
35 changed files with 677 additions and 1427 deletions
15
debian/tinc.if-pre-up
vendored
15
debian/tinc.if-pre-up
vendored
|
|
@ -45,7 +45,20 @@ test -n "$LIMITS" && setlimits $LIMITS
|
|||
|
||||
sleep 0.1
|
||||
i=0;
|
||||
while [ ! -f "$IF_TINC_PIDFILE" ] ; do
|
||||
while [ ! -f $IF_TINC_PIDFILE ] ; do
|
||||
if [ $i = '30' ] ; then
|
||||
echo 'Failed to start tinc daemon!'
|
||||
exit 1
|
||||
fi
|
||||
sleep 0.1
|
||||
i=$(($i+1))
|
||||
done
|
||||
|
||||
while read pid rest < $IF_TINC_PIDFILE ; do
|
||||
if [ -e "/proc/$pid" ] ; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ $i = '30' ] ; then
|
||||
echo 'Failed to start tinc daemon!'
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue