on bionic help sign in
unity8/data/unity8-greeter-logrotate.conf
14 lines 472 B history raw
1description "Unity 8 Greeter logrotate support"
2author "Michael Terry <mterry@ubuntu.com>"
4start on unity8-greeter-started
5task
7script
8 # logrotate normally starts on startup and then sleeps for 60 seconds.
9 # Otherwise, it skips that sleep. Since we can't emit the startup signal
10 # for a unity8-greeter session, we have to trigger logrotate manually.
11 # So we do the sleep ourselves in its stead.
12 sleep 60
13 initctl emit :sys:rotate-logs
14end script