Commit 50829b36 authored by Julien Muchembled's avatar Julien Muchembled

Revert "ship systemd services for Debian"

The presence of /lib/systemd/system/*.service files masked the fact that the
/etc/init.d/ scripts were enabled, and services were not enabled under
systemd (no symlink in /etc/systemd/system/

Reverting commit 4c2284e2 partially is the
easiest way to handle the case of OS upgrade (with a switch to systemd).
parent 91f8fb8a
......@@ -29,7 +29,6 @@ override_dh_installinit:
cd $$CONFDIR; $$DAEMON @$$NAME.conf --test "main_interface != '\'lo\''" ||\
case "$$1" in start) exit 0;; restart|force-reload) set stop;; esac\
' <debian/init.d >$(INIT)/re6stnet
# First install *.service then update scripts.
for x in $(INIT)/*; do set dh_installinit --name=$${x##*/} && \
chmod +x $$x && "$$@" --noscripts && "$$@" --onlyscripts; \
for x in $(INIT)/*; \
do chmod +x $$x && dh_installinit --onlyscripts --name=$${x##*/}; \
\ No newline at end of file
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment