Files
CmiiDeploy/998-常用脚本/重启服务器恢复/3-restore_from_reboot.timer
zeaslity 437acbeb63 add
2024-10-30 16:30:51 +08:00

16 lines
343 B
SYSTEMD

[Unit]
Description=Run restore_from_reboot 10s after boot
[Timer]
OnBootSec=10
Unit=restore_from_reboot.service
[Install]
WantedBy=multi-user.target
# /etc/systemd/system/restore_from_reboot.timer
# sudo systemctl daemon-reload
sudo systemctl enable restore_from_reboot.timer
journalctl -u restore_from_reboot -n 150 -f