From cd281cb130964e168d59f763a8888f56608048bd Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Wed, 8 Jun 2016 16:25:39 +0100 Subject: [PATCH] Fix up Debian systemd control file to allow non-socket activation Rather than relying on socket activation allow keyd to be started on boot by adding the appropriate stanza to the onak.service file. --- debian/changelog | 1 + debian/onak.service | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index d104799..22c4432 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ onak (0.4.6-1+git) UNRELEASED; urgency=low * Remove Ross Burton from Uploaders. * Bump Debian Standards-Version to 3.9.8.0 + * Fix up systemd control file to allow non-socket activation. -- Jonathan McDowell Sun, 17 Jan 2016 14:14:00 +0000 diff --git a/debian/onak.service b/debian/onak.service index efc1718..8763784 100644 --- a/debian/onak.service +++ b/debian/onak.service @@ -1,9 +1,11 @@ [Unit] Description=Backend caching key daemon for onak OpenPGP keyserver Documentation=man:keyd -Requires=onak.socket [Service] User=onak ExecStart=/usr/sbin/keyd -f ExecStop=/usr/bin/keydctl quit + +[Install] +WantedBy=multi-user.target -- 2.39.2