mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 10:26:28 -04:00
The anacron utility should be run by it's rc(8) script after resume, since the time to run jobs from the anacrontab(5) might have passed while the system was sleeping. PR: 253567 Reported by: walter.von.entferndt@posteo.net Approved by: dz@426.ch (maintainer)
18 lines
583 B
Text
18 lines
583 B
Text
[
|
|
{ type: install
|
|
message: <<EOM
|
|
Configuration hints:
|
|
- Edit %%PREFIX%%/etc/%%PORTNAME%%tab
|
|
- Deactivate the 'periodic' commands in /etc/crontab
|
|
- Add a call to %%PORTNAME%% to /etc/crontab, like
|
|
0 0 * * * root %%PREFIX%%/sbin/%%PORTNAME%%
|
|
- Add %%PORTNAME%%_enable="YES" to /etc/rc.conf
|
|
or execute one of the following commands as root:
|
|
service %%PORTNAME%% enable
|
|
sysrc %%PORTNAME%%_enable=YES
|
|
- Read %%PORTNAME%%(8) and %%PORTNAME%%tab(5)
|
|
- To avoid overlapping periodic(8) jobs, you may want to serialize jobs:
|
|
sysrc %%PORTNAME%%_flags+=" -s"
|
|
EOM
|
|
}
|
|
]
|