summaryrefslogtreecommitdiff
path: root/src/nshd/main.go
blob: ebca1a65189161239087ce95c80afcfe029f9390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package main

import (
	"nshd/hackers_git"
	"nslcd_systemd"
	"os"
)

func main() {
	config := hackers_git.Config{
		Pam_password_prohibit_message: "",
		Yamldir: "/var/cache/parabola-hackers/users",
	}
	backend := hackers_git.NewHackers(config)
	ret := nslcd_systemd.Main(backend)
	backend.Close()
	os.Exit(int(ret))
}