From 5f4f05386f3d424428b24e508545e9e1c45a44a4 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Mon, 27 Jun 2016 19:50:36 +0300 Subject: [PATCH] delete old notifications --- src/rpm/conf/php-fpm.conf | 2 +- upd/add_notifications.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/rpm/conf/php-fpm.conf b/src/rpm/conf/php-fpm.conf index bfdecd225..8a7d0bd56 100755 --- a/src/rpm/conf/php-fpm.conf +++ b/src/rpm/conf/php-fpm.conf @@ -498,4 +498,4 @@ php_admin_value[post_max_size] = 512M php_admin_value[upload_max_filesize] = 512M php_admin_value[max_execution_time] = 600 php_admin_value[max_input_time] = 600 -php_admin_value[session.save_path] = /usr/local/vesta/data/sessions" +php_admin_value[session.save_path] = /usr/local/vesta/data/sessions diff --git a/upd/add_notifications.sh b/upd/add_notifications.sh index 67851cc80..0798eee49 100755 --- a/upd/add_notifications.sh +++ b/upd/add_notifications.sh @@ -8,6 +8,8 @@ if [ ! -e '/usr/local/vesta/data/users/admin/notifications.conf' ]; then /usr/local/vesta/bin/v-add-user-notification admin "Keyboard Control" "You can use your keyboard to perform many of the same actions you perform using the mouse, such as navigating to or selecting menus, and items." /usr/local/vesta/bin/v-add-user-notification admin "Release 0.9.8-16" "We are focused on continuously improving the quality of Vesta releases, and we’ve been working hard to ensure this is a stable release. release notes" else + sed -i "/0.9.8-15/d" /usr/local/vesta/data/users/admin/notifications.conf + sed -i "/Monitoring Tools/d" /usr/local/vesta/data/users/admin/notifications.conf /usr/local/vesta/bin/v-add-user-notification admin "Keyboard Control" "You can use your keyboard to perform many of the same actions you perform using the mouse, such as navigating to or selecting menus, and items." /usr/local/vesta/bin/v-add-user-notification admin "Release 0.9.8-16" "We are focused on continuously improving the quality of Vesta releases, and we’ve been working hard to ensure this is a stable release. release notes" fi