Sindbad~EG File Manager

Current Path : /opt/nginxhttpd_/bin/
Upload File :
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

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists