mirror of
https://github.com/pi-farm/Docker-PXE-Server.git
synced 2026-10-28 03:15:22 +00:00
switch to debian:12-slim as baseimage
This commit is contained in:
1 parent
d1e6da9930
commit
43f90f907a
5 files changed
+35
-8
No files matched your search
+18
-3
@@ -1,5 +1,20 @@
|
||||
#!/bin/bash
|
||||
#systemctl start chrony dnsmasq lighttpd nfs-mountd nfs-server nfs-kernel-server nmbd rsync samba-ad-dc smbd
|
||||
##systemctl stop rpcbind
|
||||
#systemctl start rpcbind && systemctl start nfs-kernel-server && rpc.mountd
|
||||
#systemctl status chrony dnsmasq lighttpd nfs-mountd nfs-server nfs-kernel-server nmbd rsync samba-ad-dc smbd
|
||||
|
||||
# 1. Zuerst zwingend rpcbind starten
|
||||
systemctl start rpcbind
|
||||
|
||||
# Kurze Pause, damit der Portmapper-Dienst fully up & running ist
|
||||
sleep 1
|
||||
|
||||
# 2. Erst danach NFS-Dienste und den Rest starten
|
||||
systemctl start chrony dnsmasq lighttpd nfs-mountd nfs-server nfs-kernel-server nmbd rsync samba-ad-dc smbd
|
||||
#systemctl stop rpcbind
|
||||
systemctl start rpcbind && systemctl start nfs-kernel-server && rpc.mountd
|
||||
systemctl status chrony dnsmasq lighttpd nfs-mountd nfs-server nfs-kernel-server nmbd rsync samba-ad-dc smbd
|
||||
|
||||
# 3. Optional: Falls rpc.mountd separat benötigt wird
|
||||
rpc.mountd 2>/dev/null || true
|
||||
|
||||
# 4. Status aller Dienste prüfen
|
||||
systemctl status rpcbind chrony dnsmasq lighttpd nfs-mountd nfs-server nfs-kernel-server nmbd rsync samba-ad-dc smbd
|
||||
Reference in new issue
Block a user