Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| { | |
| "name": "roots/bedrock", | |
| "type": "project", | |
| "license": "MIT", | |
| "description": "WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure", | |
| "homepage": "https://roots.io/bedrock/", | |
| "authors": [ | |
| { | |
| "name": "Scott Walkinshaw", | |
| "email": "scott.walkinshaw@gmail.com", |
Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| #! /bin/bash | |
| # Author: Jay Rogers - jay@521dimensions.com | |
| #IMPORTANT -- CONFIGURATION VARIABLES | |
| BACKUPDOMAIN=backup.mydomain.com | |
| SERVERBUCKETNAME=myserver-pleskfull | |
| #Check to see if there are any SERVER backups to move. If so, move the backups to Amazon S3 | |
| if [ "$(find /var/www/vhosts/$BACKUPDOMAIN/s3backups/fullserver/ -name "*.tar")" ]; then | |
| #Make sure that CRON is able to find the AWS Configuration File |
| #! /bin/bash | |
| # Author: Jay Rogers - jay@521dimensions.com | |
| #IMPORTANT -- CONFIGURATION VARIABLES | |
| BACKUPDOMAIN=backup.mydomain.com | |
| SITESBUCKETNAME=myserver-plesksites | |
| SERVERBUCKETNAME=myserver-pleskfull | |
| #Check to see if there are any individual SITES to back up. If so, move the backups to Amazon S3 | |
| if [ "$(find /var/www/vhosts/$BACKUPDOMAIN/s3backups/sites/ -name "*.tar")" ]; then |