Notification conf and cron setups
This commit is contained in:
@@ -111,6 +111,7 @@ create_necessary_dirs() {
|
||||
sudo -u ${USER} ln -fs $my_dir/scripts/stats.php ${EXTRACTED}
|
||||
sudo -u ${USER} ln -fs $my_dir/scripts/todays_detections.php ${EXTRACTED}
|
||||
sudo -u ${USER} ln -fs $my_dir/scripts/history.php ${EXTRACTED}
|
||||
sudo -u ${USER} ln -fs $my_dir/scripts/weekly_report.php ${EXTRACTED}
|
||||
sudo -u ${USER} ln -fs $my_dir/homepage/images/favicon.ico ${EXTRACTED}
|
||||
sudo -u ${USER} ln -fs ${HOME}/phpsysinfo ${EXTRACTED}
|
||||
sudo -u ${USER} ln -fs $my_dir/templates/phpsysinfo.ini ${HOME}/phpsysinfo/
|
||||
@@ -406,6 +407,10 @@ install_cleanup_cron() {
|
||||
sed "s/\$USER/$USER/g" $my_dir/templates/cleanup.cron >> /etc/crontab
|
||||
}
|
||||
|
||||
install_weekly_cron() {
|
||||
sed "s/\$USER/$USER/g" $my_dir/templates/weekly_report.cron >> /etc/crontab
|
||||
}
|
||||
|
||||
chown_things() {
|
||||
chown -R $USER:$USER $HOME/Bird*
|
||||
}
|
||||
@@ -431,6 +436,7 @@ install_services() {
|
||||
install_phpsysinfo
|
||||
install_livestream_service
|
||||
install_cleanup_cron
|
||||
install_weekly_cron
|
||||
|
||||
create_necessary_dirs
|
||||
generate_BirdDB
|
||||
|
||||
Reference in New Issue
Block a user