User Tools

Site Tools


linux:logrotate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
linux:logrotate [2020/03/21 06:25] kbadminlinux:logrotate [2020/03/21 06:26] kbadmin
Line 43: Line 43:
 </code> </code>
  
-Merotasi semua file *.log yang terdapat didalam folder **/var/log/dir/** +Merotasi semua file *.log yang terdapat didalam folder **/var/log/dir/** \\ 
-**create 0640 apache apache** otomatis menciptakan file log kosong dengan owner adalah **apache** dan group **apache** +**create 0640 apache apache** otomatis menciptakan file log kosong dengan owner adalah **apache** dan group **apache** \\ 
-**sharedscripts** akan menjalankan script **systemctl reload example-app** sekali saja meskipun file log yang dirotasi lebih dari satu (*.log) +**sharedscripts** akan menjalankan script **systemctl reload example-app** sekali saja meskipun file log yang dirotasi lebih dari satu (*.log) \\ 
-**postrotate to endscript** adalah script yang akan dijalankan setelah rotasi selesai+**postrotate to endscript** adalah script yang akan dijalankan setelah rotasi selesai \\
  
  
  
 <nspages :linux:logrotate -h1 -textPages="Artikel" -exclude:sidebar -exclude:menu -exclude -simpleList> <nspages :linux:logrotate -h1 -textPages="Artikel" -exclude:sidebar -exclude:menu -exclude -simpleList>

Layanan

Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |
linux/logrotate.txt · Last modified: 2020/03/21 06:43 by kbadmin

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki