Created
January 23, 2012 02:59
-
-
Save bradleyayers/1660182 to your computer and use it in GitHub Desktop.
Save to `/etc/dbus-1/system.d/Upstart.conf` to enable Upstart user jobs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE busconfig PUBLIC | |
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" | |
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | |
<busconfig> | |
<!-- Only the root user can own the Upstart name --> | |
<policy user="root"> | |
<allow own="com.ubuntu.Upstart" /> | |
</policy> | |
<!-- | |
Allow any user to invoke all of the methods on Upstart, its jobs | |
or their instances, and to get and set properties - since Upstart | |
isolates commands by user. | |
--> | |
<policy context="default"> | |
<allow send_destination="com.ubuntu.Upstart" | |
send_interface="org.freedesktop.DBus.Introspectable" /> | |
<allow send_destination="com.ubuntu.Upstart" | |
send_interface="org.freedesktop.DBus.Properties" /> | |
<allow send_destination="com.ubuntu.Upstart" | |
send_interface="com.ubuntu.Upstart0_6" /> | |
<allow send_destination="com.ubuntu.Upstart" | |
send_interface="com.ubuntu.Upstart0_6.Job" /> | |
<allow send_destination="com.ubuntu.Upstart" | |
send_interface="com.ubuntu.Upstart0_6.Instance" /> | |
</policy> | |
</busconfig> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks good and works in stable ubuntu releases, but seems that doesn't in latest ubuntu 👽