Skip to content

Commit 5f4f053

Browse files
committed
delete old notifications
1 parent b787f11 commit 5f4f053

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/rpm/conf/php-fpm.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,4 +498,4 @@ php_admin_value[post_max_size] = 512M
498498
php_admin_value[upload_max_filesize] = 512M
499499
php_admin_value[max_execution_time] = 600
500500
php_admin_value[max_input_time] = 600
501-
php_admin_value[session.save_path] = /usr/local/vesta/data/sessions"
501+
php_admin_value[session.save_path] = /usr/local/vesta/data/sessions

upd/add_notifications.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ if [ ! -e '/usr/local/vesta/data/users/admin/notifications.conf' ]; then
88
/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."
99
/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. <a href='http://vestacp.com/roadmap/#0.9.8-16'>release notes</a>"
1010
else
11+
sed -i "/0.9.8-15/d" /usr/local/vesta/data/users/admin/notifications.conf
12+
sed -i "/Monitoring Tools/d" /usr/local/vesta/data/users/admin/notifications.conf
1113
/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."
1214
/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. <a href='http://vestacp.com/roadmap/#0.9.8-16'>release notes</a>"
1315
fi

0 commit comments

Comments
 (0)