You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Redis init script is peventing clean Raspbian reboot #1007
Raspbian is a fork of Debian for Raspberry Pi. Since installation of Redis server, scheduled reboot from cron stoped to work. After removing of Redis init scripts, reboot is ok again.
#/bin/sh#Configurations injected by install_server below....
EXEC=/usr/local/bin/redis-server
CLIEXEC=/usr/local/bin/redis-cli
PIDFILE=/var/run/redis_6379.pid
CONF="/etc/redis/6379.conf"
REDISPORT="6379"###############case"$1"in
start)
if [ -f$PIDFILE ]
thenecho"$PIDFILE exists, process is already running or crashed"elseecho"Starting Redis server..."$EXEC$CONFfi
;;
stop)
if [ !-f$PIDFILE ]
thenecho"$PIDFILE does not exist, process is not running"else
PID=$(cat $PIDFILE)echo"Stopping ..."$CLIEXEC -p $REDISPORT shutdown
while [ -x /proc/${PID} ]
doecho"Waiting for Redis to shutdown ..."
sleep 1
doneecho"Redis stopped"fi
;;
*)
echo"Please use start or stop as first argument"
;;
esac
Activity
antirez commentedon Mar 15, 2013
Hello, is the init script the same we provide in the Redis distribution? Could you please provide a copy of the file? Thanks.
Pitel commentedon Mar 15, 2013
Yes, it was created using the provided utility.
Merge pull request redis#1007 from Cyan4973/no_externc_guard
Update DataType Modules to v8.8.0 (#15238)