summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index a22cf69..cda20ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,3 +7,5 @@ export DH_GOPKG := github.com/xiam/vanity
dh $@ --buildsystem=golang --with=golang --with=systemd
override_dh_installinit:
+ install -d $$(pwd)/debian/tmp/lib/systemd/system/
+ install -m 644 $$(pwd)/debian/vanity@.service $$(pwd)/debian/tmp/lib/systemd/system/