summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@debian.org>2013-06-11 23:32:11 +0200
committerMichael Stapelberg <michael@stapelberg.de>2013-06-11 23:32:11 +0200
commitd50611823c584b891ad076ef922cfddd67c51752 (patch)
tree05af91f2d36860de4428a45d72ef8b0d6c62455a /debian
parent244fbdca67461cf62f263fa79afde9395f5a4500 (diff)
downloadinit-system-helpers-debian/1.1.tar.gz
add dh-systemd package, update changelogdebian/1.1
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog7
-rw-r--r--debian/control11
-rw-r--r--debian/dh-systemd.install4
-rw-r--r--debian/init-system-helpers.install2
4 files changed, 24 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index e517e92..c6546ad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+init-system-helpers (1.1) unstable; urgency=low
+
+ * deb-systemd-helper: also store enable state for already enabled units
+ * add dh-systemd package which contains the dh_systemd debhelper add-on
+
+ -- Michael Stapelberg <stapelberg@debian.org> Tue, 11 Jun 2013 23:32:02 +0200
+
init-system-helpers (1.0) unstable; urgency=low
* Initial release
diff --git a/debian/control b/debian/control
index 23b0e20..369bd92 100644
--- a/debian/control
+++ b/debian/control
@@ -22,3 +22,14 @@ Description: helper tools for all init systems
While this package is maintained by pkg-systemd-maintainers, it is NOT
specific to systemd at all. Maintainers of other init systems are welcome to
include their helpers in this package.
+
+Package: dh-systemd
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, debhelper
+Description: debhelper add-on to handle systemd unit files
+ dh-systemd provides a debhelper sequence addon named 'systemd' and the
+ dh_systemd command.
+ .
+ The dh_systemd command adds the appropriate code to the postinst, prerm and
+ postrm maint scripts to properly enable/disable systemd service files and deal
+ with start/stop/restart on upgrades for systemd-only service files.
diff --git a/debian/dh-systemd.install b/debian/dh-systemd.install
new file mode 100644
index 0000000..5e5dc1c
--- /dev/null
+++ b/debian/dh-systemd.install
@@ -0,0 +1,4 @@
+usr/bin/dh_systemd
+usr/share/perl5/Debian/Debhelper/Sequence/systemd.pm
+usr/share/debhelper/autoscripts
+usr/share/man/man1/dh_systemd.1p
diff --git a/debian/init-system-helpers.install b/debian/init-system-helpers.install
new file mode 100644
index 0000000..3813300
--- /dev/null
+++ b/debian/init-system-helpers.install
@@ -0,0 +1,2 @@
+usr/bin/deb-systemd-helper
+usr/share/man/man1/deb-systemd-helper.1p