usr
/
share
/
doc
/
python-slip-0.4.0
/
dbus
/
example
➕ New
📤 Upload
✎ Editing:
README
← Back
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.
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel