Removed hard coded program name in init script

pull/19/head
deajan 9 years ago
parent 6852e4ece7
commit 447bd7f36d

@ -31,6 +31,7 @@ UNDER WORK
RECENT CHANGES
--------------
- Removed hardcoded program name from init script
- 01 Avr. 2015: Osync v1.00pre
- Improved and refactored the soft deletion routine by merging conflict backup and soft deletion
- Reworked soft deletion code to handle a case where a top level directory gets deleted even if the files contained in it are not old enough (this obviously shouldn't happen on most FS)
@ -47,7 +48,7 @@ RECENT CHANGES
- Prevent debug mode to send alert emails
- Fixed an infamous bug introduced with exclude pattern globbing preventing multiple exludes to be processed
- Fixed an issue with empty RSYNC_EXCLUDE_FILES
- Lowered default compression level for email alerts (for low end systems
- Lowered default compression level for email alerts (for low end systems)
- Prevent exclude pattern globbing before the pattern reaches the rsync cmd
- Fixed some missing child pids for time control to work
- Prevent creation of a sync-id less log file when DEBUG is set

@ -12,7 +12,7 @@ progpath=/usr/local/bin
confdir=/etc/osync
pidfile=/var/run/$prog
lockfile=/var/lock/subsys/$prog
SCRIPT_BUILD=2605201401
SCRIPT_BUILD=1304201501
if [ ! -f $progpath/$progexec ] && [ ! -f $progexec ]
then
@ -43,7 +43,7 @@ start() {
then
./$progexec $cfgfile --on-changes > /dev/null 2>&1 &
else
echo "Cannot find osync executable in $progpath"
echo "Cannot find $prog executable in $progpath"
exit 1
fi
@ -66,7 +66,7 @@ start() {
stop() {
if [ ! -f $pidfile-* ]
then
echo "No running osync instances found."
echo "No running $prog instances found."
exit 1
fi
@ -92,7 +92,7 @@ stop() {
status() {
if [ ! -f $pidfile-* ]
then
echo "Cannot find any running osync instance."
echo "Cannot find any running $prog instance."
exit 1
fi

Loading…
Cancel
Save