Changeset 82848


Ignore:
Timestamp:
Aug 21, 2011, 2:50:46 AM (9 years ago)
Author:
pixilla@…
Message:

sysutils/logrotate:

  • Update notes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/logrotate/Portfile

    r82691 r82848  
    154154    \$ sudo cp ${prefix}/share/${name}/logrotate.conf.example ${prefix}/etc/logrotate.conf
    155155
    156   * logrotate scripts added to ${prefix}/etc/logrotate.d will read by default
     156  * logrotate scripts added to ${prefix}/etc/logrotate.d are read by default
    157157
    158158    \$ sudo ${prefix}/sbin/${name} ${prefix}/etc/logrotate.conf
    159159
    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.
    161162
    162163    \$ sudo port load Logrotate
    163164
    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.
    166168
    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
    172170
    173171    \$ sudo launchctl load -w /Library/LaunchDaemons/org.macports.logrotate.plist
Note: See TracChangeset for help on using the changeset viewer.