summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-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 {} \;