Your one-stop-cake-shop for everything Freshly Baked has to offer

fix(pm/wiki): correct service configuration #139

merged opened by freshlybakedca.ke targeting main from private/minion/push-mmztworysmow

Doing this as a oneshot means that on switch-ing configuration, the service never "comes up" (as it gets stuck in the --wait). It's far better to just have a standard service that is restarted by a timer when it exits rather than a oneshot here...

Labels

None yet.

requested-reviewers

None yet.

approved

None yet.

tested-working

None yet.

rejected

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:k2zmz2l3hvfr44tmlhewol2j/sh.tangled.repo.pull/3mbjz2bl3ju22
-2
Diff #1
-2
packetmix/systems/teal/wiki.nix
··· 251 251 ${config.services.phpfpm.pools.mediawiki.phpPackage}/bin/php ${config.services.mediawiki.finalPackage}/share/mediawiki/maintenance/run.php runJobs --memory-limit 1G --wait 252 252 ''; 253 253 serviceConfig = { 254 - RemainAfterExit = false; 255 - Type = "oneshot"; 256 254 User = "mediawiki"; 257 255 Group = "nginx"; 258 256 PrivateTmp = true;

History

2 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
fix(pm/wiki): correct service configuration
5/5 success
expand
expand 0 comments
pull request successfully merged
1 commit
expand
fix(pm/wiki): correct service configuration
expand 0 comments