svc.daemon at [c7728de200]
Logged in as anonymous

File svc.daemon artifact f1289ad94a part of check-in c7728de200


# vim:ft=make:

_daemon: DAEMON .USE
.if empty(DAEMON_$@_ENABLE:tl:Mno)
.if !empty(DAEMON_$@_MODULES)
	kldload -n ${DAEMON_$@_MODULES}
.endif
	svc -u ${DAEMON_$@_USER:Uroot} -g ${DAEMON_$@_GROUP:Uwheel} init $@ ${DAEMON_$@_COMMAND} ${DAEMON_$@_FLAGS}
.endif

_service: .USE
.if empty(DAEMON_$@_ENABLE:tl:Mno)
.if !empty(DAEMON_$@_MODULES)
	kldload -n ${DAEMON_$@_MODULES}
.endif
	svc -u ${DAEMON_$@_USER:Uroot} -g ${DAEMON_$@_GROUP:Uwheel} init $@ ${DAEMON_$@_COMMAND} ${DAEMON_$@_FLAGS}
.endif