check and include /etc/init.d/functions

pull/56/merge
yuqing 2017-04-11 17:52:25 +08:00
parent bcb7c5698c
commit e16ef61c7e
2 changed files with 6 additions and 2 deletions

View File

@ -10,7 +10,9 @@
### END INIT INFO
# Source function library.
. /etc/init.d/functions
if [ -f /etc/init.d/functions ]; then
. /etc/init.d/functions
fi
PRG=/usr/bin/fdfs_storaged
CONF=/etc/fdfs/storage.conf

View File

@ -10,7 +10,9 @@
### END INIT INFO
# Source function library.
. /etc/init.d/functions
if [ -f /etc/init.d/functions ]; then
. /etc/init.d/functions
fi
PRG=/usr/bin/fdfs_trackerd
CONF=/etc/fdfs/tracker.conf