Guest User

Untitled

a guest
Oct 16th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. task('logrotate:link', function () {
  2. run('sudo ln -fs {{ current_path }}/etc/logrotate.conf /etc/logrotate.d/AppName');
  3. });
  4.  
  5. // Create a symlink to rotate laravel logs.
  6. on(host('stage'), function ($host) {
  7. after('deploy:symlink', 'logrotate:link');
  8. });
Add Comment
Please, Sign In to add comment