Compare commits

..

2 Commits

Author SHA1 Message Date
Pi-Farm
7e61613ad1 Add permissions and symlink for systemctl
Added executable permissions to systemctl and created a symlink.
2026-06-08 11:30:38 +02:00
Pi-Farm
808d83f9a5 Create a shim for systemctl in container
Implement a shim for systemctl to handle service actions in a container environment, with a critical fix to ignore 'samba-ad-dc' to prevent RPC conflicts.
2026-06-08 11:29:42 +02:00
8 changed files with 8 additions and 14 deletions

1
.gitignore vendored
View File

@@ -2,4 +2,3 @@ srv/
RPi-PXE-Server
notes
samba/
.DS_Store

BIN
root/etc/.DS_Store vendored Executable file

Binary file not shown.

View File

@@ -1,13 +0,0 @@
#!/command/with-contenv bash
echo "Starte PXE-relevante Dienste via systemctl-shim..."
# Fix für rpcbind: Fehlendes Verzeichnis erstellen
mkdir -p /run/sendsigs.omit.d
systemctl start rpcbind
systemctl start nfs-kernel-server
systemctl start dnsmasq
systemctl start lighttpd
systemctl start smbd
systemctl start nmbd

BIN
root/etc/s6-overlay/.DS_Store vendored Executable file

Binary file not shown.

View File

@@ -0,0 +1,6 @@
#!/bin/bash
systemctl start chrony dnsmasq lighttpd nfs-mountd nfs-server nfs-kernel-server nmbd rsync samba-ad-dc smbd
systemctl stop rpcbind
systemctl status chrony dnsmasq lighttpd nfs-mountd nfs-server nfs-kernel-server nmbd rsync samba-ad-dc smbd

View File

@@ -0,0 +1 @@
oneshot

View File

@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-pxe-boot-config/run