/usr/share/upstart/sessions/update-notifier-release.conf is in update-notifier 0.154.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | description "Notification regarding a new release of Ubuntu"
author "Brian Murray <brian@ubuntu.com>"
# release-upgrade-available is provided by /usr/lib/ubuntu-release-upgrader/release-upgrade-motd
start on (
file FILE=/var/lib/ubuntu-release-upgrader/release-upgrade-available EVENT=create
)
script
DATE=$(date)
echo "$DATE new release available"
if [ -s $FILE ]; then
# use the --devel switch to check for a devel release
/usr/lib/ubuntu-release-upgrader/check-new-release-gtk
fi
end script
|