Update reload_services

This commit is contained in:
bergware
2025-02-17 11:19:23 +01:00
parent c5ea90c977
commit 68ca314a5b

View File

@@ -1,12 +1,12 @@
#!/bin/bash
SERVICES="rpc nfsd ntpd nginx sshd avahidaemon samba"
# delayed execution
sleep ${1:-1}
# run & log functions
. /etc/rc.d/rc.runlog
# delayed execution
sleep ${1:-1}
JOB=$(atq | grep -Pom1 '^\d+')
if [[ -n $JOB ]]; then
atrm $JOB 2>/dev/null