-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use $RUNTIME_DIRECTORY in TLS service scripts
$TMP may not persist across different service scripts (preStart, start, postStart...), so successive phases may not see the results of previous phases. Specifically, nixcloud.TLS-acmeSuppliedPreliminary-*-post-start was not seeing the files created by nixcloud.TLS-acmeSuppliedPreliminary-*-start due to the combination of PrivateTmp and PermissionsStartOnly. $RUNTIME_DIRECTORY persists across the execution of a service, so it better fits the purpose of passing files between service phases. Fixes #72
- Loading branch information
Showing
1 changed file
with
14 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters