
시스템은 nftables가 포함된 debian 10입니다. 실패하면 자동으로 다시 시작
하도록 계획하고 있으며 다음과 같은 스크립트를 사용합니다.nftalbes
cat << EOF >> /etc/systemd/system/nftables.service.d/override.conf
[Service]
Restart=on-failure
RestartSec=1s
EOF
systemctl daemon-reload
출력은 다음과 같습니다 bad-setting
.
systemctl status nftables.service
nftables.service - nftables
Loaded: bad-setting (Reason: Unit nftables.service has a bad unit file settin
Drop-In: /etc/systemd/system/nftables.service.d
└─override.conf
Active: active (exited) since Sat 2021-07-24 18:57:51; 1h 13min ago
Docs: man:nft(8)
http://wiki.nftables.org
man:nft(8)
http://wiki.nftables.org
Main PID: 2145 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
Memory: 0B
CGroup: /system.slice/nftables.service
문제는 어디에 있습니까?