ミラー元
https://github.com/mail-in-a-box/mailinabox.git
前回の同期 2026-01-04 06:21:59 +01:00
14 行
447 B
Bash
実行ファイル
14 行
447 B
Bash
実行ファイル
SERVICES=/etc/service/*
|
|
|
|
for f in $SERVICES
|
|
do
|
|
service=$(basename "$f")
|
|
if [ "$service" = "syslog-ng" ]; then continue; fi;
|
|
if [ "$service" = "syslog-forwarder" ]; then continue; fi;
|
|
if [ "$service" = "ssh" ]; then continue; fi;
|
|
if [ "$service" = "cron" ]; then continue; fi;
|
|
if ([ -d /etc/service/$service ] && [ ! -f /etc/service/$service/down ]); then
|
|
echo "Creating down file for '$service'"
|
|
touch /etc/service/$service/down
|
|
fi
|
|
done |