/usr/share/doc/python3-slip-dbus/example
NameSizeModeActions
example-conf-client.py18200644editdlrm
example-conf-mechanism.py24240644editdlrm
import_marker.py00644editdlrm
Makefile14600644editdlrm
org.fedoraproject.slip.example.mechanism.conf5270644editdlrm
org.fedoraproject.slip.example.mechanism.service1220644editdlrm
org.fedoraproject.slip.example.policy9630644editdlrm
README10190644editdlrm
Edit: /usr/share/doc/python3-slip-dbus/example/README (1019B)
To use this example code, you have to install some files into system locations. Run "make example_install" as root from this directory to do that, "make example_uninstall" will uninstall these files again. After installing, there are two ways to run the example service right now: 1. Run "./example-conf-mechanism.py" as root from this directory. This will let you see the output of the example mechanism and observe it exiting after the client exited. 2. With SELinux permissive or disabled(*), the system message bus will start up the installed example service from the installed location, if it's not already running (see 1.). This will not let you see its output and you will have to look at the list of running processes to see that it exits after the client. (*): The SELinux policy only allows the system message bus daemon to start select binaries, this example service isn't covered. Then you can run "./example-conf-client.py" as a normal user which will call a set of methods on the service mechanism.