Skip to content

Commit 16fa048

Browse files
author
Template builder
committed
Creating template
0 parents  commit 16fa048

File tree

15 files changed

+351
-0
lines changed

15 files changed

+351
-0
lines changed

.openshift/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
The OpenShift `php` cartridge documentation can be found at:
2+
http://openshift.github.io/documentation/oo_cartridge_guide.html#php
3+
4+
For information about .openshift directory, consult the documentation:
5+
http://openshift.github.io/documentation/oo_user_guide.html#the-openshift-directory

.openshift/action_hooks/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
For information about action hooks, consult the documentation:
2+
3+
http://openshift.github.io/documentation/oo_user_guide.html#action-hooks

.openshift/cron/README.cron

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Run scripts or jobs on a periodic basis
2+
=======================================
3+
Any scripts or jobs added to the minutely, hourly, daily, weekly or monthly
4+
directories will be run on a scheduled basis (frequency is as indicated by the
5+
name of the directory) using run-parts.
6+
7+
run-parts ignores any files that are hidden or dotfiles (.*) or backup
8+
files (*~ or *,) or named *.{rpmsave,rpmorig,rpmnew,swp,cfsaved}
9+
10+
The presence of two specially named files jobs.deny and jobs.allow controls
11+
how run-parts executes your scripts/jobs.
12+
jobs.deny ===> Prevents specific scripts or jobs from being executed.
13+
jobs.allow ===> Only execute the named scripts or jobs (all other/non-named
14+
scripts that exist in this directory are ignored).
15+
16+
The principles of jobs.deny and jobs.allow are the same as those of cron.deny
17+
and cron.allow and are described in detail at:
18+
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-Automating_System_Tasks.html#s2-autotasks-cron-access
19+
20+
See: man crontab or above link for more details and see the the weekly/
21+
directory for an example.
22+
23+
PLEASE NOTE: The Cron cartridge must be installed in order to run the configured jobs.
24+
25+
For more information about cron, consult the documentation:
26+
http://openshift.github.io/documentation/oo_cartridge_guide.html#cron
27+
http://openshift.github.io/documentation/oo_user_guide.html#cron

.openshift/cron/daily/.gitignore

Whitespace-only changes.

.openshift/cron/hourly/.gitignore

Whitespace-only changes.

.openshift/cron/minutely/.gitignore

Whitespace-only changes.

.openshift/cron/monthly/.gitignore

Whitespace-only changes.

.openshift/cron/weekly/README

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Run scripts or jobs on a weekly basis
2+
=====================================
3+
Any scripts or jobs added to this directory will be run on a scheduled basis
4+
(weekly) using run-parts.
5+
6+
run-parts ignores any files that are hidden or dotfiles (.*) or backup
7+
files (*~ or *,) or named *.{rpmsave,rpmorig,rpmnew,swp,cfsaved} and handles
8+
the files named jobs.deny and jobs.allow specially.
9+
10+
In this specific example, the chronograph script is the only script or job file
11+
executed on a weekly basis (due to white-listing it in jobs.allow). And the
12+
README and chrono.dat file are ignored either as a result of being black-listed
13+
in jobs.deny or because they are NOT white-listed in the jobs.allow file.
14+
15+
For more details, please see ../README.cron file.
16+

.openshift/cron/weekly/chrono.dat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Time And Relative D...n In Execution (Open)Shift!

.openshift/cron/weekly/chronograph

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
echo "`date`: `cat $(dirname \"$0\")/chrono.dat`"

.openshift/cron/weekly/jobs.allow

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#
2+
# Script or job files listed in here (one entry per line) will be
3+
# executed on a weekly-basis.
4+
#
5+
# Example: The chronograph script will be executed weekly but the README
6+
# and chrono.dat files in this directory will be ignored.
7+
#
8+
# The README file is actually ignored due to the entry in the
9+
# jobs.deny which is checked before jobs.allow (this file).
10+
#
11+
chronograph
12+

.openshift/cron/weekly/jobs.deny

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#
2+
# Any script or job files listed in here (one entry per line) will NOT be
3+
# executed (read as ignored by run-parts).
4+
#
5+
6+
README
7+

.openshift/markers/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
For information about markers, consult the documentation:
2+
3+
http://openshift.github.io/documentation/oo_user_guide.html#markers

.openshift/pear.txt

Whitespace-only changes.

index.php

Lines changed: 274 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)