Skip to content

Instantly share code, notes, and snippets.

Created July 31, 2013 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/a238133933700bc267df to your computer and use it in GitHub Desktop.
Save anonymous/a238133933700bc267df to your computer and use it in GitHub Desktop.
# brscan-skey-daemon - Brother scan-key-tool daemon
#
# The brscan-skey daemon provides one-click scanning
# from a Brother device.
description "Brother scan-key-tool daemon"
start on (filesystem
and started dbus)
stop on stopping dbus
expect daemon
respawn
setuid test
exec /usr/bin/brscan-skey
# avahi-daemon - mDNS/DNS-SD daemon
#
# The Avahi daemon provides mDNS/DNS-SD discovery support (Bonjour/Zeroconf)
# allowing applications to discover services on the network.
description "mDNS/DNS-SD daemon"
start on (filesystem
and started dbus)
stop on stopping dbus
expect daemon
respawn
pre-start script
/lib/init/apparmor-profile-load usr.sbin.avahi-daemon
end script
script
opts="-D"
[ -e "/etc/eucalyptus/avahi-daemon.conf" ] && opts="${opts} -f /etc/eucalyptus/avahi-daemon.conf"
exec avahi-daemon ${opts}
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment