mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-06-16 01:23:18 +02:00
Permissions of unix socket
This commit is contained in:
parent
8532b5b7ea
commit
bf8077626e
4 changed files with 13 additions and 9 deletions
server
|
@ -8,7 +8,6 @@ import (
|
|||
// Defines default config settings (excluding limits, see below)
|
||||
const (
|
||||
DefaultListenHTTP = ":80"
|
||||
DefaultListenUnixMode = 0777
|
||||
DefaultCacheDuration = 12 * time.Hour
|
||||
DefaultKeepaliveInterval = 45 * time.Second // Not too frequently to save battery (Android read timeout used to be 77s!)
|
||||
DefaultManagerInterval = time.Minute
|
||||
|
@ -108,7 +107,7 @@ func NewConfig() *Config {
|
|||
ListenHTTP: DefaultListenHTTP,
|
||||
ListenHTTPS: "",
|
||||
ListenUnix: "",
|
||||
ListenUnixMode: DefaultListenUnixMode,
|
||||
ListenUnixMode: 0,
|
||||
KeyFile: "",
|
||||
CertFile: "",
|
||||
FirebaseKeyFile: "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue