| Revision 2094,
402 bytes
checked in by jamesog, 4 years ago
(diff) |
- Move all commands from bin to sbin on Unix platforms
- Update all associated docs and contributed distribution files
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | |
|---|
| 2 | PIDFILE=@localstatedir_expanded@/bbackupd.pid |
|---|
| 3 | |
|---|
| 4 | case $1 in |
|---|
| 5 | |
|---|
| 6 | # SMF arguments (start and restart [really "refresh"]) |
|---|
| 7 | 'start') |
|---|
| 8 | @sbindir_expanded@/bbackupd |
|---|
| 9 | ;; |
|---|
| 10 | |
|---|
| 11 | 'restart') |
|---|
| 12 | if [ -f "$PIDFILE" ]; then |
|---|
| 13 | /usr/bin/kill -HUP `/usr/bin/cat $PIDFILE` |
|---|
| 14 | fi |
|---|
| 15 | ;; |
|---|
| 16 | |
|---|
| 17 | *) |
|---|
| 18 | echo "Usage: $0 { start | restart }" |
|---|
| 19 | exit 1 |
|---|
| 20 | ;; |
|---|
| 21 | esac |
|---|
| 22 | |
|---|
| 23 | exit $? |
|---|
| 24 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.