-
Notifications
You must be signed in to change notification settings - Fork 693
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5813 from freedomofpress/5812-reboot-cron
[Focal] Fix reboot-flag cron syntax
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
install_files/securedrop-config-focal/opt/securedrop/reboot-flag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# The purpose of this cron is to drop the reboot-required flag every 12 hours | ||
# to ensure the system is rebooted nightly, regardless of updates being installed | ||
# or not. | ||
* */12 * * * touch /var/run/reboot-required | ||
0 */12 * * * root touch /var/run/reboot-required |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters