Fixes for debian init.d scripts.
This commit is contained in:
parent
4b64b28777
commit
01efc6cc20
1
debian/uhub.init
vendored
1
debian/uhub.init
vendored
@ -28,6 +28,7 @@ test -x $DAEMON || exit 0
|
|||||||
. /lib/lsb/init-functions
|
. /lib/lsb/init-functions
|
||||||
|
|
||||||
ulimit -n 65536
|
ulimit -n 65536
|
||||||
|
mkdir -p /var/run/uhub/
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
1
debian/uhub.postinst
vendored
1
debian/uhub.postinst
vendored
@ -4,7 +4,6 @@ set -e
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
configure)
|
configure)
|
||||||
chmod 0750 /var/log/uhub
|
chmod 0750 /var/log/uhub
|
||||||
chmod 0755 /var/run/uhub
|
|
||||||
|
|
||||||
if [ -x /etc/init.d/uhub ]; then
|
if [ -x /etc/init.d/uhub ]; then
|
||||||
update-rc.d uhub defaults >/dev/null
|
update-rc.d uhub defaults >/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user