Adding init script for the new instance ...

This commit is contained in:
Philippe Caseiro 2018-05-15 12:24:05 +02:00
parent e3a93a0725
commit 42677eb95b
2 changed files with 11 additions and 0 deletions

1
debian/eole-redis.redis2-server.service vendored Symbolic link
View File

@ -0,0 +1 @@
../init/redis2-server.service

10
debian/rules vendored
View File

@ -6,3 +6,13 @@
%: %:
dh $@ dh $@
# Force init script name
override_dh_installinit:
dh_installinit --noscripts -peole-redis --name=redis2-server $@
override_dh_systemd_enable:
dh_systemd_enable -peole-redis --name=redis2-server
override_dh_systemd_start:
dh_systemd_start -peole-server --no-start --no-restart-on-upgrade redis2-server