diff options
author | jperkin <jperkin@pkgsrc.org> | 2020-12-02 10:54:15 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2020-12-02 10:54:15 +0000 |
commit | b233a7396db4fc5d30313f8581f36b55410086b5 (patch) | |
tree | a61d210e58e468b45721ee8fb7c03b67d5b101b3 /net | |
parent | 47fac774b8ba1e225f8952173dff524fcd2825e9 (diff) | |
download | pkgsrc-b233a7396db4fc5d30313f8581f36b55410086b5.tar.gz |
samba4: Add winbind SMF instance and tidy.
Diffstat (limited to 'net')
-rw-r--r-- | net/samba4/files/smf/manifest.xml | 88 |
1 files changed, 49 insertions, 39 deletions
diff --git a/net/samba4/files/smf/manifest.xml b/net/samba4/files/smf/manifest.xml index a402e2250af..f10d0eebb95 100644 --- a/net/samba4/files/smf/manifest.xml +++ b/net/samba4/files/smf/manifest.xml @@ -1,41 +1,51 @@ -<?xml version="1.0"?> -<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> +<?xml version='1.0'?> +<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> <service_bundle type='manifest' name='export'> -<service name='@SMF_PREFIX@/@SMF_NAME@' type='service' version='1'> - <dependency name='fs-root' grouping='require_all' restart_on='none' type='service'> - <service_fmri value='svc:/system/filesystem/root' /> - </dependency> - <dependency name='network-service' grouping='require_all' restart_on='none' type='service'> - <service_fmri value='svc:/network/service'/> - </dependency> - - <instance name='smbd' enabled='false'> - <exec_method name='start' type='method' exec='@PREFIX@/sbin/smbd -D' timeout_seconds='0'/> - <exec_method name='stop' type='method' exec=':kill' timeout_seconds='30'/> - <exec_method name='refresh' type='method' exec=':kill -HUP' timeout_seconds='0'/> - <template> - <common_name> - <loctext xml:lang='C'>Samba SMB/CIFS services</loctext> - </common_name> - <documentation> - <manpage title='smbd' section='8' manpath='@PREFIX@/@PKGMANDIR@'/> - </documentation> - </template> - </instance> - - <instance name='nmbd' enabled='false'> - <exec_method name='start' type='method' exec='@PREFIX@/sbin/nmbd -D' timeout_seconds='0'/> - <exec_method name='stop' type='method' exec=':kill' timeout_seconds='30'/> - <exec_method name='refresh' type='method' exec=':kill -HUP' timeout_seconds='0'/> - <template> - <common_name> - <loctext xml:lang='C'>Samba NetBIOS name server</loctext> - </common_name> - <documentation> - <manpage title='nmbd' section='8' manpath='@PREFIX@/@PKGMANDIR@'/> - </documentation> - </template> - </instance> - -</service> + <service name='@SMF_PREFIX@/@SMF_NAME@' type='service' version='1'> + <dependency name='fs-root' grouping='require_all' restart_on='none' type='service'> + <service_fmri value='svc:/system/filesystem/root'/> + </dependency> + <dependency name='network-service' grouping='require_all' restart_on='none' type='service'> + <service_fmri value='svc:/network/service'/> + </dependency> + <instance name='winbind' enabled='false'> + <exec_method name='start' type='method' exec='@PREFIX@/sbin/winbindd' timeout_seconds='0'/> + <exec_method name='stop' type='method' exec=':kill' timeout_seconds='30'/> + <exec_method name='refresh' type='method' exec=':kill -HUP' timeout_seconds='0'/> + <template> + <common_name> + <loctext xml:lang='C'>Samba AD daemon for PAM/NSS</loctext> + </common_name> + <documentation> + <manpage title='winbindd' section='8' manpath='@PREFIX@/@PKGMANDIR@'/> + </documentation> + </template> + </instance> + <instance name='nmbd' enabled='false'> + <exec_method name='start' type='method' exec='@PREFIX@/sbin/nmbd -D' timeout_seconds='0'/> + <exec_method name='stop' type='method' exec=':kill' timeout_seconds='30'/> + <exec_method name='refresh' type='method' exec=':kill -HUP' timeout_seconds='0'/> + <template> + <common_name> + <loctext xml:lang='C'>Samba NetBIOS name server</loctext> + </common_name> + <documentation> + <manpage title='nmbd' section='8' manpath='@PREFIX@/@PKGMANDIR@'/> + </documentation> + </template> + </instance> + <instance name='smbd' enabled='false'> + <exec_method name='start' type='method' exec='@PREFIX@/sbin/smbd -D' timeout_seconds='0'/> + <exec_method name='stop' type='method' exec=':kill' timeout_seconds='30'/> + <exec_method name='refresh' type='method' exec=':kill -HUP' timeout_seconds='0'/> + <template> + <common_name> + <loctext xml:lang='C'>Samba SMB/CIFS services</loctext> + </common_name> + <documentation> + <manpage title='smbd' section='8' manpath='@PREFIX@/@PKGMANDIR@'/> + </documentation> + </template> + </instance> + </service> </service_bundle> |