changeset 459:d7af40e44502

Use Apache for BDStrike cron to fix post-update warnings
author IBBoard <dev@ibboard.co.uk>
date Sat, 02 Sep 2023 20:03:11 +0100
parents d7ad78f128b1
children ce488cfb225a
files manifests/templates.pp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/manifests/templates.pp	Sat Sep 02 19:59:46 2023 +0100
+++ b/manifests/templates.pp	Sat Sep 02 20:03:11 2023 +0100
@@ -890,7 +890,7 @@
 		# Run "php -f wp-cron.php" on a schedule so that we can auto-update
 		# without giving Apache full write access!
 		command => "/usr/local/bin/bdstrike-cron",
-		user => $defaultusers::default_user,
+		user => $website::apache_user,
 		minute => '*/15',
 	}
 }