summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorVarac <varac@leap.se>2017-06-26 14:36:19 +0200
committerKali Kaneko <kali@leap.se>2017-06-26 14:49:00 +0200
commit5dcd48831e0acc5726643e7fffa56315e2ef82b5 (patch)
treebfb7c06d63141477d7f2ea81dff44d3860da4ed4 /debian
parenta230f1501cb48a6b12f4756d3a7c32db40104c4f (diff)
[pkg] Install soledad-server service unit file
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules8
1 files changed, 7 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 93ce6e11..c9033e7e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,11 +4,17 @@
export http_proxy = http://127.0.0.1:9
# Uncomment this to turn on verbose mode.
-#DH_VERBOSE=1
+DH_VERBOSE=1
+
+NAME=soledad-server
%:
dh $@ --with python2 --namespace=leap.soledad --with=systemd
+override_dh_installinit:
+ dh_systemd_enable -p${NAME} --name=${NAME} ${NAME}.service
+ dh_installinit -p${NAME} --no-start --noscripts
+
override_dh_auto_clean:
dh_auto_clean
find . -name "*.pyc" -exec rm -rf {} \;