diff options
author | ivan <ivan> | 2003-01-14 08:49:57 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-01-14 08:49:57 +0000 |
commit | 2f9eb7976dca75dc6c585ea9c62f1b0898e3e953 (patch) | |
tree | b329f865625a2013d27bbfe1d7a08a3fbfde43da /init.d | |
parent | 27ee26568a1a58b0fb65b7269a43cd3da6d66b35 (diff) |
add freeside-selfservice-server to init script
add domsvc checking as a foreign key
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/freeside-init | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/init.d/freeside-init b/init.d/freeside-init index d3016b289..37ced73d4 100644 --- a/init.d/freeside-init +++ b/init.d/freeside-init @@ -15,6 +15,9 @@ SIGNUP_MACHINE=%%%SIGNUP_MACHINE%%% SIGNUP_AGENTNUM=%%%SIGNUP_AGENTNUM%%% SIGNUP_REFNUM=%%%SIGNUP_REFNUM%%% +SELFSERVICE_USER=%%%SELFSERVICE_USER%%% +SELFSERVICE_MACHINE=%%%SELFSERVICE_MACHINE%%% + case "$1" in start) # Start daemons. @@ -29,6 +32,11 @@ case "$1" in echo -n "Starting fs_signup_server: " su freeside -c "$FREESIDE_PATH/fs_signup/fs_signup_server $SIGNUP_USER $SIGNUP_MACHINE $SIGNUP_AGENTNUM $SIGNUP_REFNUM" & echo "done." + + echo -n "Starting freeside-selfservice-server: " + $FREESIDE_PATH/fs_selfservice/freeside-selfservice-server $SELFSERVICE_USER $SELFSERVICE_MACHINE + echo "done." + ;; stop) # Stop daemons. @@ -43,6 +51,10 @@ case "$1" in echo -n "Stopping fs_signup_server: " killall fs_signup_server echo "done." + + echo -n "Stopping freeside-selfservice-server: " + kill `cat /var/run/freeside-selfservice-server.pid` + echo "done." ;; restart) |