Changeset 82848
- Timestamp:
- 08/20/11 19:50:46 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/sysutils/logrotate/Portfile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/sysutils/logrotate/Portfile
r82691 r82848 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 willread 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 rotation with this command. 160 * With the +startupitem variant you can activate a scheduled log rotation 161 with this command. 161 162 162 163 \$ sudo port load Logrotate 163 164 164 * To create your own startup item with non-default intervals build; without the +startupitem 165 variant, copy the example into place and manually edit to your liking. 165 * To create your own startup item with non-default intervals, build logrotate without 166 the +startupitem variant, copy the example into place and edit to your liking and load 167 with launchctl when finished. 166 168 167 \$ sudo cp ${prefix}/share/${name}/org.macports.logrotate.plist.example\ 168 /Library/LaunchDaemons/org.macports.logrotate.plist 169 170 Once your /Library/LaunchDaemons/org.macports.logrotate.plist file is ready maunually load it 171 with this command. 169 \$ sudo cp ${prefix}/share/${name}/org.macports.logrotate.plist.example /Library/LaunchDaemons/org.macports.logrotate.plist 172 170 173 171 \$ sudo launchctl load -w /Library/LaunchDaemons/org.macports.logrotate.plist
Note: See TracChangeset
for help on using the changeset viewer.

