mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
21 lines
577 B
Makefile
Executable file
21 lines
577 B
Makefile
Executable file
#!/usr/bin/make -f
|
|
# -*- makefile -*-
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
%:
|
|
dh ${@} --with=python2,systemd
|
|
|
|
override_dh_installinit:
|
|
dh_installinit -pyunohost --name=yunohost-api --restart-after-upgrade
|
|
dh_installinit -pyunohost --name=yunohost-firewall --noscripts
|
|
|
|
override_dh_systemd_enable:
|
|
dh_systemd_enable --name=yunohost-api \
|
|
yunohost-api.service
|
|
dh_systemd_enable --name=yunohost-firewall --no-enable \
|
|
yunohost-firewall.service
|
|
|
|
#override_dh_systemd_start:
|
|
# dh_systemd_start --restart-after-upgrade yunohost-api.service
|