Changeset 83086
- Timestamp:
- 08/25/11 12:49:20 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/sysutils/logrotate/Portfile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/sysutils/logrotate/Portfile
r82848 r83086 154 154 \$ sudo cp ${prefix}/share/${name}/logrotate.conf.example ${prefix}/etc/logrotate.conf 155 155 156 * logrotate scripts added to ${prefix}/etc/logrotate.d are read by default156 * Logrotate scripts added to ${prefix}/etc/logrotate.d are read by default. 157 157 158 158 \$ sudo ${prefix}/sbin/${name} ${prefix}/etc/logrotate.conf 159 159 160 * With the +startupitem variant you can activate a scheduled log rotation161 with this command.160 * With the startupitem variant (+startupitem) you can activate a scheduled log 161 rotation with this command. 162 162 163 163 \$ sudo port load Logrotate 164 164 165 * To create your own startup item with non-default intervals, build logrotate without166 the +startupitem variant, copy the example into place and edit to your liking and load167 with launchctl when finished.165 * To create your own startup item with non-default intervals, build logrotate 166 without the startupitem variant (-startupitem), copy the example into place 167 and edit to your liking and load with launchctl when finished. 168 168 169 169 \$ sudo cp ${prefix}/share/${name}/org.macports.logrotate.plist.example /Library/LaunchDaemons/org.macports.logrotate.plist
Note: See TracChangeset
for help on using the changeset viewer.

