| Current Path : /opt/nginxhttpd_/bin/ |
| Current File : //opt/nginxhttpd_/bin/restart_o2redis |
#!/usr/bin/env bash
###
## Restart script for the o2switch private redis on 1025 with password auth
###
if test -e /usr/bin/systemctl ; then
/usr/bin/systemctl restart o2redis
else
/etc/init.d/o2redis restart
fi
# Recreate the OpenResty conf in memory
/opt/nginxhttpd/bin/console openresty:generate