| Revision 2094,
401 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 | PIDFILE=@localstatedir_expanded@/bbstored.pid |
|---|
| 2 | |
|---|
| 3 | case $1 in |
|---|
| 4 | |
|---|
| 5 | # SMF arguments (start and restart [really "refresh"]) |
|---|
| 6 | 'start') |
|---|
| 7 | @sbindir_expanded@/bbstored |
|---|
| 8 | ;; |
|---|
| 9 | |
|---|
| 10 | 'restart') |
|---|
| 11 | if [ -f "$PIDFILE" ]; then |
|---|
| 12 | /usr/bin/kill -HUP `/usr/bin/cat $PIDFILE` |
|---|
| 13 | fi |
|---|
| 14 | ;; |
|---|
| 15 | |
|---|
| 16 | *) |
|---|
| 17 | echo "Usage: $0 { start | restart }" |
|---|
| 18 | exit 1 |
|---|
| 19 | ;; |
|---|
| 20 | esac |
|---|
| 21 | |
|---|
| 22 | exit $? |
|---|
| 23 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.