summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-08-12 14:37:49 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2017-08-12 14:37:49 (GMT)
commit88bc3bb3cfc94e854065dfba671c450760a5edc1 (patch)
tree125e009c59902b8133288d5142d65b46637cbfcc
parent743df14a51ba9fdd990839a5fe6c6dae0f773979 (diff)
actually install systemd unit
-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/