summaryrefslogtreecommitdiff
path: root/docker/bifrost/bifrost-deploy/init-fake.conf
blob: 00a8f8ccdc4929ff695117d7a480be3ddf9bd2a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# copied from https://github.com/tianon/dockerfiles/blob/4d24a12b54b75b3e0904d8a285900d88d3326361/sbin-init/ubuntu/upstart/14.04/init-fake.conf
# fake some events needed for correct startup other services

description     "In-Container Upstart Fake Events"

start on startup

script
    rm -rf /var/run/*.pid
    rm -rf /var/run/network/*
    /sbin/initctl emit stopped JOB=udevtrigger --no-wait
    /sbin/initctl emit started JOB=udev --no-wait
    /sbin/initctl emit runlevel RUNLEVEL=3 --no-wait
end script