| #!/usr/bin/make -f | |
| # -*- makefile -*- | |
| %: | |
| dh $@ --with systemd | |
| override_dh_systemd_enable: | |
| dh_systemd_enable --name=runonce | |
| override_dh_systemd_start: | |
| dh_systemd_start --no-start | |
| # From man dh_installinit: | |
| # In compat 10 or earlier: If a package only ships a systemd service file and no sysvinit script | |
| # is provided, you may want to exclude the call to dh_installinit for that package (e.g. via -N). | |
| # Otherwise, you may get warnings from lintian about init.d scripts not being included in the | |
| # package. | |
| override_dh_installinit: | |
| true |