photoprism/internal/mutex/atomic.go
Michael Mayer 3e4121cc78 Server: Add "restart required" flag and button to restart the server
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-27 19:27:19 +02:00

10 lines
176 B
Go

package mutex
import (
"sync/atomic"
)
// Restart signals that the application should be restarted,
// e.g. after an update or a config changes.
var Restart = atomic.Bool{}