reopen 745992
found 745992 0.82.7
tags 745992 + patch
thanks

On Sun, 27 Apr 2014 at 00:12:05 +0200, Michael Stapelberg wrote:
> please add the attached systemd service file.

On Mon, 28 Apr 2014 at 11:20:15 +0200, Michael Vogt wrote:
> This is merged and will be part of the next upload.

Unfortunately, the merge was incomplete: you added the infrastructure,
but not the actual service file :-)

The attached is what I have applied in a local version of
unattended-upgrades.

    S
>From 36c1b5e9aa01f2bbdbb1505c1accc96a43317172 Mon Sep 17 00:00:00 2001
From: Michael Stapelberg <stapelb...@debian.org>
Date: Sat, 26 Apr 2014 23:54:15 +0200
Subject: [PATCH 1/8] Add native systemd service file (Closes: #745992)

[The patch was not completely applied in 0.82.7: infrastructure was added,
but the actual service file wasn't. -smcv]
---
 debian/unattended-upgrades.service | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 debian/unattended-upgrades.service

diff --git a/debian/unattended-upgrades.service b/debian/unattended-upgrades.service
new file mode 100644
index 0000000..f0dd143
--- /dev/null
+++ b/debian/unattended-upgrades.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Unattended Upgrades
+DefaultDependencies=no
+Before=shutdown.target reboot.target halt.target
+Documentation=man:unattended-upgrade(8)
+
+[Service]
+Type=oneshot
+ExecStart=/usr/share/unattended-upgrades/unattended-upgrade-shutdown
+
+[Install]
+WantedBy=shutdown.target
-- 
2.0.0

Reply via email to