refactor: migrate the app deploy lock to the data directory

This removes it from the app path, hopefully making backups a bit easier to perform.
This commit is contained in:
Jose Diaz-Gonzalez
2023-08-27 13:10:45 -04:00
parent 4b480ae964
commit e61421b53b
7 changed files with 43 additions and 14 deletions

View File

@@ -133,7 +133,7 @@ func TriggerPostAppRenameSetup(oldAppName string, newAppName string) error {
return common.CloneAppData("logs", oldAppName, newAppName)
}
// TriggerPostCreate ensures apps the correct data directory structure
// TriggerPostCreate ensures apps have the correct data directory structure
func TriggerPostCreate(appName string) error {
return common.CreateAppDataDirectory("logs", appName)
}