From c40af8b3fec1b840776ca36d64b1857ed2bdd95b Mon Sep 17 00:00:00 2001 From: Ben Howard Date: Wed, 25 Mar 2015 11:04:05 -0600 Subject: Import patches-unapplied version 2.0.12-0ubuntu1 to ubuntu/vivid-proposed Imported using git-ubuntu import. Changelog parent: f9cd6b27fad4d9fdf557138966f2d34cae234edb New changelog entries: * New upstream release. * Added debian/watch for easier maintenance. * Fix regression of missing dataloss warning by adding systemd unit file. --- debian/ephemeral-disk-warning.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 debian/ephemeral-disk-warning.service (limited to 'debian/ephemeral-disk-warning.service') diff --git a/debian/ephemeral-disk-warning.service b/debian/ephemeral-disk-warning.service new file mode 100644 index 0000000..7bc0fe7 --- /dev/null +++ b/debian/ephemeral-disk-warning.service @@ -0,0 +1,16 @@ +[Unit] +Description= +After=cloud-final.service +ConditionVirtualization=microsoft +ConditionPathIsMountPoint=/mnt +ConditionPathExists=/dev/disk/azure/resource-part1 + +[Service] +Type=oneshot +ExecStart=/usr/sbin/ephemeral-disk-warning.sh +RemainAfterExit=yes +StandardOutput=journal+console + +[Install] +WantedBy=multi-user.target + -- cgit v1.2.3