Rough, initial migration to systemd units.

This commit is contained in:
Simon Quigley 2023-10-05 11:10:28 -05:00
parent a175069ed3
commit fa2ee62ea8
6 changed files with 23 additions and 10 deletions

View File

@ -1,7 +0,0 @@
[Desktop Entry]
Exec=/usr/libexec/lubuntu-update-notifier/lubuntu-upg-notifier.sh
NoDisplay=true
Name=upgNotifier
Icon=system-software-update
Type=Application
Version=0.1

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
lubuntu-update-notifier (0.6.0) UNRELEASED; urgency=medium
* Rough, initial migration to systemd units.
-- Simon Quigley <tsimonq2@ubuntu.com> Thu, 05 Oct 2023 11:10:04 -0500
lubuntu-update-notifier (0.5.4) lunar; urgency=medium
* Disconnect the status_changed() function from the status-changed signal in

View File

@ -1,2 +0,0 @@
#data/upg-apply.desktop usr/share/applications
data/upg-notifier-autostart.desktop etc/xdg/autostart

View File

@ -0,0 +1,7 @@
[Unit]
Description=Lubuntu Update Notifier
Wants=update-notifier-download.timer
[Service]
Type=oneshot
ExecStart=/usr/libexec/lubuntu-update-notifier/lubuntu-upg-notifier.sh

View File

@ -0,0 +1,10 @@
[Unit]
Description=Lubuntu Update Notifier
Requires=lubuntu-update-notifier.service
[Timer]
Unit=lubuntu-update-notifier.service
OnCalendar=*-*-* *:00:00
[Install]
WantedBy=timers.target

View File

@ -33,5 +33,4 @@ while true;
done
IFS=$oldIFS
/usr/libexec/lubuntu-update-notifier/lubuntu-notifier.py -u $UPG -s $SEC -p /usr/bin/lubuntu-upgrader
sleep 86400
done;