
Ubuntu 16.04 서버에서는 자동 보안 업데이트가 활성화되어 있어 잘 작동합니다. 또한 필요한 경우 밤에 자동으로 재부팅되기를 원합니다. 이를 위해 다음이 포함되어 있습니다 /etc/apt/apt.conf.d/50unattended-upgrades
.
// Automatically reboot *WITHOUT CONFIRMATION*
// if the file /var/run/reboot-required is found after the upgrade
Unattended-Upgrade::Automatic-Reboot "true";
// If automatic reboot is enabled and needed, reboot at the specific
// time instead of immediately
// Default: "now"
Unattended-Upgrade::Automatic-Reboot-Time "02:00";
이틀 동안 이런 상태였지만 SSH를 통해 접속해 보면 여전히 표시되며 *** System restart required ***
가동 시간은 7일 이상입니다.
왜 이것이 작동하지 않는지 아는 사람이 있습니까?