Linux vps 6.8.0-39-generic #39-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 21:49:14 UTC 2024 x86_64
nginx/1.26.1
Server IP : 91.227.41.192 & Your IP : 172.70.176.43
Domains :
Cant Read [ /etc/named.conf ]
User : clp
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Lock Shell
Lock File++
Readme
/
etc /
rc0.d /
Delete
Unzip
Name
Size
Permission
Date
Action
K01chrony
1.85
KB
-rwxr-xr-x
2023-11-14 21:02
K01cryptdisks
937
B
-rwxr-xr-x
2024-02-26 12:50
K01cryptdisks-early
896
B
-rwxr-xr-x
2024-02-26 12:50
K01fail2ban
6.85
KB
-rwxr-xr-x
2024-06-10 23:27
K01iscsid
1.48
KB
-rwxr-xr-x
2023-12-14 14:08
K01memcached
3.4
KB
-rwxr-xr-x
2024-04-01 08:55
K01mysql
6.27
KB
-rwxr-xr-x
2024-05-09 09:08
K01networking
4.42
KB
-rwxr-xr-x
2024-02-14 15:14
K01nginx
4.47
KB
-rwxr-xr-x
2024-06-06 09:08
K01open-iscsi
2.41
KB
-rwxr-xr-x
2023-12-14 14:08
K01php7.1-fpm
4.19
KB
-rwxr-xr-x
2024-05-09 09:08
K01php7.2-fpm
4.19
KB
-rwxr-xr-x
2024-05-08 09:08
K01php7.3-fpm
4.19
KB
-rwxr-xr-x
2024-05-08 09:08
K01php7.4-fpm
4.19
KB
-rwxr-xr-x
2024-05-08 09:08
K01php8.0-fpm
4.19
KB
-rwxr-xr-x
2024-05-08 09:08
K01php8.1-fpm
4.19
KB
-rwxr-xr-x
2024-06-11 09:08
K01php8.2-fpm
4.19
KB
-rwxr-xr-x
2024-07-12 09:08
K01php8.3-fpm
4.19
KB
-rwxr-xr-x
2024-07-12 09:08
K01plymouth
1.35
KB
-rwxr-xr-x
2024-03-21 14:42
K01postfix
3.02
KB
-rwxr-xr-x
2024-03-05 16:20
K01proftpd
5.2
KB
-rwxr-xr-x
2024-05-09 09:08
K01qemu-guest-agent
3.04
KB
-rwxr-xr-x
2021-01-05 23:58
K01redis-server
1.57
KB
-rwxr-xr-x
2024-01-09 14:42
K01unattended-upgrades
1.36
KB
-rwxr-xr-x
2024-02-12 18:50
K01uwsgi
4.46
KB
-rwxr-xr-x
2023-11-25 13:25
Save
Rename
#! /bin/bash ### BEGIN INIT INFO # Provides: memcached # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Should-Start: $local_fs # Should-Stop: $local_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: memcached - Memory caching daemon # Description: memcached - Memory caching daemon ### END INIT INFO # Usage: # cp /etc/memcached.conf /etc/memcached_server1.conf # cp /etc/memcached.conf /etc/memcached_server2.conf # start all instances: # /etc/init.d/memcached start # start one instance: # /etc/init.d/memcached start server1 # stop all instances: # /etc/init.d/memcached stop # stop one instance: # /etc/init.d/memcached stop server1 # There is no "status" command. PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/bin/memcached DAEMONNAME=memcached DAEMONBOOTSTRAP=/usr/share/memcached/scripts/start-memcached DESC=memcached test -x $DAEMON || exit 0 test -x $DAEMONBOOTSTRAP || exit 0 set -e if [ -f /etc/default/memcached ] ; then . /etc/default/memcached fi . /lib/lsb/init-functions FILES=(/etc/memcached_*.conf) # check for alternative config schema if [ -r "${FILES[0]}" ]; then CONFIGS=() for FILE in "${FILES[@]}"; do # remove prefix NAME=${FILE#/etc/} # remove suffix NAME=${NAME%.conf} # check optional second param if [ $# -ne 2 ]; then # add to config array CONFIGS+=($NAME) elif [ "memcached_$2" == "$NAME" ]; then # use only one memcached CONFIGS=($NAME) break; fi; done; if [ ${#CONFIGS[@]} == 0 ]; then echo "Config not exist for: $2" >&2 exit 1 fi; else CONFIGS=(memcached) fi; CONFIG_NUM=${#CONFIGS[@]} for ((i=0; i < $CONFIG_NUM; i++)); do NAME=${CONFIGS[${i}]} PIDFILE="/var/run/${NAME}.pid" case "$1" in start) echo -n "Starting $DESC: " start-stop-daemon --start --quiet --exec "$DAEMONBOOTSTRAP" -- /etc/${NAME}.conf $PIDFILE echo "$NAME." ;; stop) echo -n "Stopping $DESC: " start-stop-daemon --stop --quiet --oknodo --retry 5 --pidfile $PIDFILE --exec $DAEMON echo "$NAME." rm -f $PIDFILE ;; status) [ $# -lt 2 ] && NAME=$DAEMONNAME PIDFILE="/var/run/$NAME.pid" set +e start-stop-daemon --status --pidfile $PIDFILE case $? in 0) echo "$DESC: $NAME (pid $(cat $PIDFILE)) is running" && exit 0;; 1) echo "$DESC: $NAME is not running thro' the pid file exists" && rm -f $PIDFILE && exit 1;; 3) echo "$DESC: $NAME is not running" && exit 3;; 4) echo "$DESC: $NAME status is unclear, sorry" && exit 4;; esac ;; restart|force-reload) # # If the "reload" option is implemented, move the "force-reload" # option to the "reload" entry above. If not, "force-reload" is # just the same as "restart". # echo -n "Restarting $DESC: " start-stop-daemon --stop --quiet --oknodo --retry 5 --pidfile $PIDFILE rm -f $PIDFILE sleep 1 start-stop-daemon --start --quiet --exec "$DAEMONBOOTSTRAP" -- /etc/${NAME}.conf $PIDFILE echo "$NAME." ;; *) N=/etc/init.d/$NAME # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 echo "Usage: $N {start|stop|status|restart|force-reload}" >&2 exit 1 ;; esac done; exit 0