mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-15 18:48:14 +02:00
(untested!) added temp backup api scaffoldings before introducing autobackups and rotations
This commit is contained in:
1 parent
60eee96034
commit
d3314e1e23
17 files changed
+914
-40
No files matched your search
+1
-1
@@ -156,7 +156,7 @@ func (pb *PocketBase) Execute() error {
|
||||
|
||||
done := make(chan bool, 1)
|
||||
|
||||
// wait for interrupt signal to gracefully shutdown the application
|
||||
// listen for interrupt signal to gracefully shutdown the application
|
||||
go func() {
|
||||
sigch := make(chan os.Signal, 1)
|
||||
signal.Notify(sigch, os.Interrupt, syscall.SIGTERM)
|
||||
|
||||
Reference in new issue
Block a user