summaryrefslogtreecommitdiff
path: root/utils/cups-browsed-upstart.conf
diff options
context:
space:
mode:
Diffstat (limited to 'utils/cups-browsed-upstart.conf')
-rw-r--r--utils/cups-browsed-upstart.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/utils/cups-browsed-upstart.conf b/utils/cups-browsed-upstart.conf
new file mode 100644
index 000000000..536e1ce98
--- /dev/null
+++ b/utils/cups-browsed-upstart.conf
@@ -0,0 +1,20 @@
+# cups-browsed - Bonjour remote printer browsing daemon
+
+description "cups-browsed - Bonjour remote printer browsing daemon"
+author "Till Kamppeter <till.kamppeter@gmail.com>"
+
+start on (filesystem
+ and (started cups or runlevel [2345]))
+stop on runlevel [016]
+
+respawn
+respawn limit 3 240
+
+pre-start script
+ [ -x /usr/sbin/cups-browsed ]
+ if [ -x /lib/init/apparmor-profile-load ]; then
+ /lib/init/apparmor-profile-load usr.sbin.cups-browsed
+ fi
+end script
+
+exec /usr/sbin/cups-browsed