$ supervisorctl update $ supervisorctl update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Простая функция для вывода форматированного номера телефона по маске | |
* | |
* | |
* @param string $phone | |
* @param string $pattern | |
* @return string | |
*/ |
Readme apache/incubator-pagespeed-ngx#1760
us@sr:# apt-get install build-essential zlib1g-dev libpcre3 libpcre3-dev unzip uuid-dev libssl-dev
us@sr:# apt-mark hold nginx
PREVENT CHANGES FOR A PACKAGE
hold
hold is used to mark a package as held back, which will prevent the package from being
ur@sr:~# iptables -I DOCKER-USER -i eth0 -p tcp -m conntrack --ctorigdstport 8080 --ctdir ORIGINAL -j DROP
ur@sr:~# iptables -I DOCKER-USER -i eth0 -s <YOUR_IP> -p tcp -m conntrack --ctorigdstport 8080 --ctdir ORIGINAL -j ACCEPT
ur@sr:~# iptables -L DOCKER-USER
Chain DOCKER-USER (1 references)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# $ crontab -u admin -e | |
# 3 05 * * * /home/admin/docker/backup-docker-db.sh or | |
# 3 05 * * * /home/admin/docker/backup-docker-db.sh >> /home/admin/docker/backup/backup.log 2>&1 | |
# Get current time | |
start_time=$(date '+%s') | |
BACKUP_FILE_NAME="tantra_db.$(date +"%Y-%m-%d_%H-%M-%S.sql.gz")" | |
BACKUP_DIR="/home/admin/docker/backup" |