diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-01-29 00:35:11 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-01-29 00:35:11 +0000 |
commit | c647ffa0841a545d0a49e584213366c7fc064672 (patch) | |
tree | d87eaa776ee924415197921e46eb9ef691843b3c /contrib/redhat | |
parent | becb1a27341d013ea4b5b5eca740319a30180877 (diff) |
Update contributed scripts to use autoconf substitution for the
paths to binaries, configuration files and local state files.
Diffstat (limited to 'contrib/redhat')
-rw-r--r-- | contrib/redhat/bbackupd.in (renamed from contrib/redhat/bbackupd) | 14 | ||||
-rw-r--r-- | contrib/redhat/bbstored.in (renamed from contrib/redhat/bbstored) | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/contrib/redhat/bbackupd b/contrib/redhat/bbackupd.in index 63c61ff7..e8ecdc68 100644 --- a/contrib/redhat/bbackupd +++ b/contrib/redhat/bbackupd.in @@ -1,13 +1,13 @@ #! /bin/bash # -# bbackupd Start/Stop the box backup daemon. +# bbackupd Start/Stop the box backup client daemon. # # chkconfig: 345 93 07 -# description: bbackup is the client side deamon for Box Backup, a completely \ -# automatic on-line backup system +# description: bbackupd is the client side deamon for Box Backup, \ +# a completely automatic on-line backup system. # processname: bbackupd -# config: /etc/box -# pidfile: /var/run/bbackupd.pid +# config: @sysconfdir_expanded@/box +# pidfile: @localstatedir_expanded@/bbackupd.pid # Source function library. . /etc/init.d/functions @@ -19,7 +19,7 @@ RETVAL=0 prog="bbackupd" # Check that configuration exists. -[ -f /etc/box/$prog.conf ] || exit 0 +[ -f @sysconfdir_expanded@/box/$prog.conf ] || exit 0 start() { echo -n $"Starting $prog: " @@ -49,7 +49,7 @@ restart() { } reload() { - echo -n $"Reloading $prog daemon configuration: " + echo -n $"Reloading $prog configuration: " killproc $prog -HUP retval=$? echo diff --git a/contrib/redhat/bbstored b/contrib/redhat/bbstored.in index eadca1d1..c7675df5 100644 --- a/contrib/redhat/bbstored +++ b/contrib/redhat/bbstored.in @@ -1,13 +1,13 @@ #! /bin/bash # -# bbstored Start/Stop the box backup daemon. +# bbstored Start/Stop the box backup server daemon. # # chkconfig: 345 93 07 -# description: bbstore is the server side deamon for Box Backup, a completely \ -# automatic on-line backup system +# description: bbstored is the server side daemon for Box Backup, \ +# a completely automatic on-line backup system. # processname: bbstored -# config: /etc/box -# pidfile: /var/run/bbstored.pid +# config: @sysconfdir_expanded@/box +# pidfile: @localstatedir_expanded@/bbstored.pid # Source function library. . /etc/init.d/functions @@ -19,7 +19,7 @@ RETVAL=0 prog="bbstored" # Check that configuration exists. -[ -f /etc/box/$prog.conf ] || exit 0 +[ -f @sysconfdir_expanded@/box/$prog.conf ] || exit 0 start() { echo -n $"Starting $prog: " @@ -49,7 +49,7 @@ restart() { } reload() { - echo -n $"Reloading $prog daemon configuration: " + echo -n $"Reloading $prog configuration: " killproc $prog -HUP retval=$? echo |