diff options
author | Varac <varac@leap.se> | 2017-06-26 14:36:19 +0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-06-26 14:49:00 +0200 |
commit | 5dcd48831e0acc5726643e7fffa56315e2ef82b5 (patch) | |
tree | bfb7c06d63141477d7f2ea81dff44d3860da4ed4 /debian/rules | |
parent | a230f1501cb48a6b12f4756d3a7c32db40104c4f (diff) |
[pkg] Install soledad-server service unit file
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 8 |
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 {} \; |