Revision 0e219942
b/debian/changelog | ||
---|---|---|
1 |
nfdhcpd (0.6+nmu2) unstable; urgency=low |
|
2 |
|
|
3 |
* Patches from Vangelis Koukis for pidfile permissions |
|
4 |
|
|
5 |
-- Costas Drogos <costasd@noc.grnet.gr> Tue, 03 Apr 2012 16:41:23 +0300 |
|
6 |
|
|
1 | 7 |
nfdhcpd (0.6+nmu1) unstable; urgency=low |
2 | 8 |
|
3 | 9 |
* Support for serving domain |
b/debian/init.d | ||
---|---|---|
102 | 102 |
} |
103 | 103 |
|
104 | 104 |
start_server() { |
105 |
# /var/run may be volatile, so we need to ensure that |
|
106 |
# /var/run/$NAME exists here as well as in postinst |
|
107 |
if [ ! -d /var/run/$NAME ]; then |
|
108 |
mkdir /var/run/$NAME || return 1 |
|
109 |
chown nobody:nogroup /var/run/$NAME || return 1 |
|
110 |
fi |
|
105 | 111 |
start_daemon -p $PIDFILE $DAEMON $DAEMON_OPTS |
106 | 112 |
errcode=$? |
107 | 113 |
return $errcode |
Also available in: Unified diff