modules/darwin/common/reboot: command -> script
This commit is contained in:
parent
066877dcda
commit
30fa9ad56e
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
# reboot every sunday between 00:00 and 06:00
|
||||
launchd.daemons.reboot = {
|
||||
command = ''/sbin/shutdown -r "+$(( $RANDOM % ( 6 * 60 ) ))"'';
|
||||
script = ''/sbin/shutdown -r "+$(( $RANDOM % ( 6 * 60 ) ))"'';
|
||||
serviceConfig.StartCalendarInterval = [
|
||||
{
|
||||
Hour = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue