Commit 348cab8f authored by Markus Frosch's avatar Markus Frosch 📣

Update service name to just icinga-redis

parent d422b811
Pipeline #7410 passed with stages
in 2 minutes and 23 seconds
#!/bin/sh #!/bin/sh
for BINARY in icinga-redis-server icinga-redis-sentinel for BINARY in icinga-redis icinga-redis-sentinel
do do
for MODE in default for MODE in default
# templated # templated
do do
case "${BINARY}" in case "${BINARY}" in
icinga-redis-server) icinga-redis)
NAME="redis" NAME="redis"
;; ;;
icinga-redis-sentinel) icinga-redis-sentinel)
...@@ -16,16 +16,16 @@ do ...@@ -16,16 +16,16 @@ do
case "${MODE}" in case "${MODE}" in
default) default)
EXTRA="Alias=${NAME}.service" EXTRA=""
TARGET="debian/${BINARY}.service" TARGET="debian/${BINARY}.service"
NAMESPACED="${NAME}" NAMESPACED="${NAME}"
DESCRIPTION="Advanced key-value store" DESCRIPTION="Advanced key-value store for Icinga"
;; ;;
templated) templated)
EXTRA="" EXTRA=""
TARGET="debian/${BINARY}@.service" TARGET="debian/${BINARY}@.service"
NAMESPACED="${NAME}-%i" NAMESPACED="${NAME}-%i"
DESCRIPTION="Advanced key-value store (%I)" DESCRIPTION="Advanced key-value store for Icinga (%I)"
;; ;;
esac esac
......
# icinga-redis-server configure options # icinga-redis configure options
# ULIMIT: Call ulimit -n with this argument prior to invoking Redis itself. # ULIMIT: Call ulimit -n with this argument prior to invoking Redis itself.
# This may be required for high-concurrency environments. Redis itself cannot # This may be required for high-concurrency environments. Redis itself cannot
......
#! /bin/sh #! /bin/sh
### BEGIN INIT INFO ### BEGIN INIT INFO
# Provides: icinga-redis-server # Provides: icinga-redis
# Required-Start: $syslog $remote_fs # Required-Start: $syslog $remote_fs
# Required-Stop: $syslog $remote_fs # Required-Stop: $syslog $remote_fs
# Should-Start: $local_fs # Should-Start: $local_fs
# Should-Stop: $local_fs # Should-Stop: $local_fs
# Default-Start: 2 3 4 5 # Default-Start: 2 3 4 5
# Default-Stop: 0 1 6 # Default-Stop: 0 1 6
# Short-Description: icinga-redis-server - Persistent key-value db # Short-Description: icinga-redis - Persistent key-value db for Icinga
# Description: icinga-redis-server - Persistent key-value db # Description: icinga-redis - Persistent key-value db for Icinga
### END INIT INFO ### END INIT INFO
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/icinga-redis-server DAEMON=/usr/bin/icinga-redis-server
DAEMON_ARGS=/etc/icinga-redis/redis.conf DAEMON_ARGS=/etc/icinga-redis/redis.conf
NAME=icinga-redis-server NAME=icinga-redis
DESC=icinga-redis-server DESC=icinga-redis
RUNDIR=/var/run/icinga-redis RUNDIR=/var/run/icinga-redis
PIDFILE=$RUNDIR/icinga-redis-server.pid PIDFILE=$RUNDIR/icinga-redis.pid
test -x $DAEMON || exit 0 test -x $DAEMON || exit 0
......
debian/bash_completion.d/* /usr/share/bash-completion/completions debian/bash_completion.d/* /usr/share/bash-completion/completions
debian/icinga-redis-server.service /lib/systemd/system debian/icinga-redis.service /lib/systemd/system
redis.conf /etc/icinga-redis redis.conf /etc/icinga-redis
src/icinga-redis-benchmark /usr/bin src/icinga-redis-benchmark /usr/bin
src/icinga-redis-check-aof /usr/bin src/icinga-redis-check-aof /usr/bin
......
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