added user independent sections and started db migration work
This commit is contained in:
parent
6a2dc8146c
commit
16ea95bf09
24 changed files with 622 additions and 122 deletions
|
|
@ -34,9 +34,11 @@ var (
|
|||
)
|
||||
|
||||
func initServer(cfg core.Config) (err error) {
|
||||
if err = godrop.PledgePromises("stdio rpath wpath cpath inet fattr flock proc exec id unveil"); err != nil {
|
||||
return
|
||||
}
|
||||
// remove initial pledge due to violation with go1.12
|
||||
// sysctl kern.somaxconn
|
||||
//if err = godrop.PledgePromises("stdio rpath wpath cpath inet fattr flock proc exec id unveil"); err != nil {
|
||||
// return
|
||||
//}
|
||||
dropCfg := godrop.Config{
|
||||
User: cfg.User,
|
||||
Group: cfg.Group,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue