From: Jonathan McDowell Date: Wed, 8 Jun 2016 15:25:39 +0000 (+0100) Subject: Fix up Debian systemd control file to allow non-socket activation X-Git-Tag: onak-0.5.0~21 X-Git-Url: https://the.earth.li/gitweb/?p=onak.git;a=commitdiff_plain;h=cd281cb130964e168d59f763a8888f56608048bd 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. --- 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