some fixes

This commit is contained in:
ston1th 2023-03-23 00:08:33 +01:00
commit fa65b381a4
7 changed files with 37 additions and 26 deletions

View file

@ -5,6 +5,7 @@ cat <<'EOF'> /etc/rc.d/keyctl
daemon="/usr/local/sbin/keyctl"
daemon_user="_keyctl"
daemon_logger="daemon.info"
. /etc/rc.d/rc.subr
@ -12,14 +13,11 @@ pexp=".*${daemon}.*"
rc_bg=YES
rc_reload=NO
rc_start() {
rc_exec "${daemon} ${daemon_flags}"
}
rc_cmd $1
EOF
chmod 555 /etc/rc.d/keyctl
rcctl enable keyctl
rcctl set keyctl flags server
mkdir /var/keyctl
groupadd _keyctl