-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dbus config and systemd config, installation and packaging of kan…
…o-memory-monitor
- Loading branch information
Showing
5 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | ||
|
||
<busconfig> | ||
|
||
<policy context="default"> | ||
|
||
<!-- Allow kano-boards-daemon to reserve the bus name --> | ||
<allow own="me.kano.monitor"/> | ||
|
||
<!-- Allow clients to call methods on interfaces on this bus name --> | ||
<allow send_destination="me.kano.monitor"/> | ||
|
||
</policy> | ||
|
||
</busconfig> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,8 @@ config/gtk-2.0 etc/skel/.config/ | |
config/dconf etc/skel/.config/ | ||
config/console usr/share/kano-desktop/config | ||
|
||
config/dbus/me.kano.monitor.conf /etc/dbus-1/system.d/ | ||
|
||
config/sudoers.d/* usr/share/kano-desktop/config/sudoers.d | ||
|
||
config/systemd/kano.conf /lib/systemd/system/[email protected] | ||
|
@@ -36,6 +38,7 @@ bin/use-the-force usr/bin | |
bin/kano-dashboard-confirm usr/bin | ||
bin/make-adventures usr/bin | ||
bin/kano-keyboard-hotkeys usr/bin | ||
bin/kano-memory-monitor usr/bin | ||
|
||
scripts/* usr/share/kano-desktop/scripts | ||
|
||
|
@@ -45,3 +48,5 @@ kano-mount-trigger/kano-mount-trigger /usr/bin/ | |
kano-mount-trigger/95-kano-mount-trigger.rules /lib/udev/rules.d/ | ||
|
||
systemd/* /usr/lib/systemd/user/ | ||
|
||
kano_monitor /usr/lib/python2.7/dist-packages/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# | ||
# kano-common-monitor | ||
# | ||
|
||
[Unit] | ||
Description=Kano Memory Monitor | ||
IgnoreOnIsolate=true | ||
|
||
[Service] | ||
ExecStart=/usr/bin/sudo /usr/bin/kano-memory-monitor |
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