Skip to content

Commit

Permalink
Merge pull request #214 from Automattic/cron-depends-on-syslog
Browse files Browse the repository at this point in the history
fix(cron): make sure syslog is started first
  • Loading branch information
sjinks authored Jun 1, 2024
2 parents 17ccc98 + bf5a555 commit cf962ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion features/src/cron/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "cron",
"name": "Cron",
"description": "Enables cron in the Dev Environment",
"version": "1.1.0",
"version": "1.1.1",
"options": {
"enabled": {
"type": "boolean",
Expand Down
2 changes: 2 additions & 0 deletions features/src/cron/service-run
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

exec 2>&1

sv start syslog || true

exec /usr/sbin/crond -f -l 8

0 comments on commit cf962ef

Please sign in to comment.