You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
462 B
35 lines
462 B
#!/usr/bin/env bash |
|
|
|
function backup() |
|
{ |
|
backup.sh |
|
} |
|
|
|
function import() |
|
{ |
|
import.sh |
|
} |
|
|
|
function start() |
|
{ |
|
/opt/gw/gwd -lang fr -hd /opt/gw -bd /home/geneweb/bases -p 2317 -log /home/geneweb/geneweb.log |
|
} |
|
|
|
case "$1" in |
|
start) |
|
start |
|
;; |
|
|
|
backup) |
|
backup |
|
;; |
|
|
|
import) |
|
import |
|
;; |
|
|
|
*) |
|
echo $"Usage: $0 {start|backup|import}" |
|
exit 1 |
|
|
|
esac |