# Logrotate error

**URL:** https://discourse.roots.io/t/logrotate-error/6492
**Category:** trellis
**Created:** 2016-04-19T06:55:35Z
**Posts:** 17
**Showing post:** 9 of 17

## Post 9 by @afonsoduarte — 2016-05-06T10:17:42Z

@alanc: after deleting the upstart script, nginx stopped auto-loading on startup. To get it to auto-load again I had to run:

```
sudo update-rc.d nginx defaults
```

---

_[View the full topic](https://discourse.roots.io/t/logrotate-error/6492)._
