We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6a45b0 commit 61750a0Copy full SHA for 61750a0
2 files changed
debian/authd-example-broker.postinst
@@ -0,0 +1,11 @@
1
+#!/bin/sh
2
+set -e
3
+
4
+#DEBHELPER#
5
6
+# Mask the service by default, unless it was previuously enabled.
7
+if [ -z "${DPKG_ROOT:-}" ] && [ -d /run/systemd/system ] && [ "$1" = configure ]; then
8
+ if [ -z "$2" ] || ! deb-systemd-helper was‐enabled; then
9
+ deb-systemd-helper mask 'authd-example-broker.service'
10
+ fi
11
+fi
debian/rules
@@ -84,3 +84,10 @@ override_dh_auto_install:
84
dh_auto_install --destdir=debian/tmp -- --no-source
85
86
/usr/share/cargo/bin/dh-cargo-built-using authd
87
88
+override_dh_installsystemd:
89
+ dh_installsystemd -pauthd
90
+ dh_installsystemd -pauthd-example-broker \
91
+ --no-enable \
92
+ --no-start \
93
+ $(NULL)
0 commit comments