Fix ESVM services

This commit is contained in:
2026-03-14 11:54:49 +02:00
parent 93132a17c8
commit a86389745c
6 changed files with 20 additions and 6 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: samba
description: SMB Fileserver and AD Domain server
version: 4.23.6
revision: 1
revision: 2
url: https://archlinux.org/packages/extra/x86_64/samba/
license: GPL3-or-later
maintainers:
+5
View File
@@ -0,0 +1,5 @@
name: nmbd
description: Samba NMB Daemon
type: background
start_cmd: /bin/sh -c "install -d /run/samba && exec /usr/sbin/nmbd -F -d=1 --no-process-group"
restart: true
+2 -3
View File
@@ -1,6 +1,5 @@
name: samba
description: Samba SMB Daemon
description: Samba AD Daemon
type: background
start_cmd: /bin/sh -c "install -d /run/samba && exec /usr/sbin/nmbd -F -d=1 --no-process-group"
exit_method: kill
start_cmd: /bin/sh -c "install -d /run/samba && exec /usr/sbin/samba -F -d=1 --no-process-group"
restart: true
+5
View File
@@ -0,0 +1,5 @@
name: smbd
description: Samba SMB Daemon
type: background
start_cmd: /bin/sh -c "install -d /run/samba && exec /usr/sbin/smbd -F -d=1 --no-process-group"
restart: true
+5
View File
@@ -0,0 +1,5 @@
name: winbindd
description: Samba Winbind Daemon
type: background
start_cmd: /bin/sh -c "install -d /run/samba && exec /usr/sbin/winbindd -F -d=1 --no-process-group"
restart: true
+2 -2
View File
@@ -78,8 +78,8 @@ package_samba() {
_pick smbclient usr/share/man/man7/libsmbclient.7
_pick smbclient usr/share/man/man8/{smbspool,net}.8
# Install esvm service
install -Dm644 "$BPM_WORKDIR"/samba.esv "$BPM_OUTPUT"/etc/esvm/services/samba.esv
# Install esvm services
install -Dm644 "$BPM_WORKDIR"/*.esv -t "$BPM_OUTPUT"/etc/esvm/services
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/samba/COPYING