We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aae2daf commit e65bf10Copy full SHA for e65bf10
main.go
@@ -72,6 +72,12 @@ type RPCPacket struct {
72
73
// backendMain starts all the servers and creates an RPC server to communicate with the frontend
74
func backendMain(noSignal, noReload bool) {
75
+ err := os.Mkdir("state", 0755)
76
+ if err != nil {
77
+ logging.Error("BACKEN", err)
78
+ os.Exit(1)
79
+ }
80
+
81
sigExit := make(chan os.Signal, 1)
82
signal.Notify(sigExit, syscall.SIGINT, syscall.SIGTERM)
83
0 commit comments