Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
103
Merge Requests
103
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
93d4e5a0
Commit
93d4e5a0
authored
Jun 15, 2023
by
Alain Takoudjou
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stack/drupal: add cron
parent
9c78ab9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
stack/drupal/buildout.hash.cfg
stack/drupal/buildout.hash.cfg
+1
-1
stack/drupal/drupal-instance.cfg.in
stack/drupal/drupal-instance.cfg.in
+12
-1
No files found.
stack/drupal/buildout.hash.cfg
View file @
93d4e5a0
...
...
@@ -4,7 +4,7 @@ md5sum = ee73fe8e6b6959cfa137a02b9ce038f0
[template-drupal-instance]
filename = drupal-instance.cfg.in
md5sum =
eeef9228e93cea091f61761c2635ec75
md5sum =
680ba3cbecae8b25e677a1b6e7aacfc7
[template-settings.php]
filename = default.settings.php.in
...
...
stack/drupal/drupal-instance.cfg.in
View file @
93d4e5a0
...
...
@@ -36,7 +36,7 @@ output = ${directory:www}/docroot/sites/settings.local.php
[drush-bin]
recipe = slapos.cookbook:wrapper
command-line =
${php-bin:wrapper-path} ${directory:www}/vendor/drush/drush/drush
${php-bin:wrapper-path} ${directory:www}/vendor/drush/drush/drush
--root ${directory:www}
wrapper-path = ${directory:bin}/drush
environment =
PATH=${directory:bin}:$PATH
...
...
@@ -141,11 +141,22 @@ depends =
${blt-bin:recipe}
${mysql-bin:recipe}
${mysqldump-bin:recipe}
${cron-entry-drupal:recipe}
[drupal-admin-passwd]
recipe = slapos.cookbook:generate.password
storage-path = ${directory:etc}/.admin_pwd
[cron-entry-base]
recipe = slapos.cookbook:cron.d
cron-entries = ${cron:cron-entries}
[cron-entry-drupal]
<= cron-entry-base
name = drupal-cron
frequency = */20 * * * *
command = cd ${apache-php-configuration:document-root} && ${directory:bin}/drush core-cron
[instance-parameter]
tmp-dir = ${directory:tmp}
trusted-host-list =
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment