ubuntu@node0:/etc/init$ cat jujud-unit-ceph-osd-0.conf
description "juju unit agent for ceph-osd/0"
author "Juju Team <juju@lists.ubuntu.com>"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
normal exit 0
env JUJU_CONTAINER_TYPE=""
script
# Ensure log files are properly protected
touch /var/log/juju/unit-ceph-osd-0.log
chown syslog:syslog /var/log/juju/unit-ceph-osd-0.log
chmod 0600 /var/log/juju/unit-ceph-osd-0.log
exec '/var/lib/juju/tools/unit-ceph-osd-0/jujud' unit --data-dir '/var/lib/juju' --unit-name ceph-osd/0 --debug >> /var/log/juju/unit-ceph-osd-0.log 2>&1
end script
ubuntu@node0:/etc/init$