initial commit of file from CVS for smeserver-manager on Fri Mar 22 14:54:28 AEDT 2024
This commit is contained in:
25
root/usr/share/smanager/script/daily.sh
Normal file
25
root/usr/share/smanager/script/daily.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#! /bin/bash
|
||||
|
||||
#> unshift secrets values
|
||||
#> refresh Routes base
|
||||
#> refresh Navigation menu bases
|
||||
### refresh Rest password base
|
||||
#> expand smanager.conf et reload service
|
||||
### smanager activity test
|
||||
|
||||
SMANAGER_DIR='/usr/share/smanager'
|
||||
|
||||
# unshift secrets value
|
||||
$SMANAGER_DIR/script/secrets.pl
|
||||
|
||||
# refresh routes database
|
||||
$SMANAGER_DIR/script/routes.pl
|
||||
|
||||
# refresh Navigation menu database
|
||||
#$SMANAGER_DIR/script/navigation.pl
|
||||
|
||||
# smanager config files and databases
|
||||
/sbin/e-smith/expand-template $SMANAGER_DIR/conf/srvmngr.conf
|
||||
/sbin/e-smith/signal-event smanager-refresh
|
||||
|
||||
exit 0
|
Reference in New Issue
Block a user