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