Adding init script for the new instance ...
This commit is contained in:
parent
e3a93a0725
commit
42677eb95b
|
@ -0,0 +1 @@
|
|||
../init/redis2-server.service
|
|
@ -6,3 +6,13 @@
|
|||
|
||||
%:
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue