blob: 35608706bcf42a5b59f4d0d543e9758d07f31baf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package main
import (
"sd_daemon/lsb"
"nshd/hackers_git"
"nslcd_systemd"
"os"
)
func main() {
defer lsb.Recover()
config := hackers_git.Config{
Pam_password_prohibit_message: "",
Yamldir: "/var/cache/parabola-hackers/users",
}
backend := hackers_git.NewHackers(config)
if backend == nil {
os.Exit(int(lsb.EXIT_FAILURE))
}
ret := nslcd_systemd.Main(backend)
backend.Close()
os.Exit(int(ret))
}
|