#!/bin/sh # Emit an Upstart system event, that will propagate to the Session Inits # via the upstart-event-bridge(8), requesting that the Session Inits # rotate their logs. # # Note that system-level Upstart logs are handled separately using a # logrotate script. /sbin/initctl version >/dev/null 2>&1 || exit 0 /sbin/initctl emit rotate-logs