Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5080

日本語 • overlayで、systemdによる再起動設定時に再起動を繰り返す

$
0
0
Raspberry Pi OS (Legacym64-bit) FUll をインストール(debian 11.9)
systemdにて、毎月1日、15日の2:00に再起動するよう設定して、oberlay設定しました。
例えば4月14日でoverlay設定して、5月8日に再起動した場合、ntpでシンクロしたタイミングで再起動してしまいます。
以降再起動を繰り返します。
原因はじめわかりませんでしたが、systemd に設定している再起動の設定が動いていることがわかりましたが
これって回避方法ってあるのでしょうか?そもそも設定が悪いですか?

systemd の再起動設定

reboot.service: -----------------------------------------------------------
[Unit]
Description=Periodic reboot

[Service]
Type=oneshot
ExecStart=reboot

[Install]
WantedBy=multi-user.target

reboot.timer: -----------------------------------------------------------
[Unit]
Description=Periodic reboot

[Timer]
OnCalendar=*-*-1,15 2:00:00

[Install]
WantedBy=timers.target

Statistics: Posted by roadster_t — Thu May 09, 2024 2:43 am



Viewing all articles
Browse latest Browse all 5080

Trending Articles