v4.9.0
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
[D-BUS Service]
|
||||
Name=org.manjaro.pamac
|
||||
Exec=/usr/bin/pamac-daemon
|
||||
User=root
|
||||
SystemdService=pamac.service
|
@@ -4,19 +4,19 @@
|
||||
<busconfig>
|
||||
<!-- Only root can own the service -->
|
||||
<policy user="root">
|
||||
<allow own="org.manjaro.pamac"/>
|
||||
<allow own="org.manjaro.pamac.system"/>
|
||||
</policy>
|
||||
|
||||
<!-- Allow anyone to invoke methods on the interfaces -->
|
||||
<policy context="default">
|
||||
<allow send_destination="org.manjaro.pamac"
|
||||
send_interface="org.manjaro.pamac"/>
|
||||
<allow send_destination="org.manjaro.pamac.system"
|
||||
send_interface="org.manjaro.pamac.system"/>
|
||||
|
||||
<allow send_destination="org.manjaro.pamac"
|
||||
send_interface="org.freedesktop.DBus.Introspectable"/>
|
||||
<allow send_destination="org.manjaro.pamac"
|
||||
<allow send_destination="org.manjaro.pamac.system"
|
||||
send_interface="org.freedesktop.DBus_Introspectable"/>
|
||||
<allow send_destination="org.manjaro.pamac.system"
|
||||
send_interface="org.freedesktop.DBus.Peer"/>
|
||||
<allow send_destination="org.manjaro.pamac"
|
||||
<allow send_destination="org.manjaro.pamac.system"
|
||||
send_interface="org.freedesktop.DBus.Properties"/>
|
||||
</policy>
|
||||
</busconfig>
|
5
data/dbus/org.manjaro.pamac.system.service
Normal file
5
data/dbus/org.manjaro.pamac.system.service
Normal file
@@ -0,0 +1,5 @@
|
||||
[D-BUS Service]
|
||||
Name=org.manjaro.pamac.system
|
||||
Exec=/usr/bin/pamac-system-daemon
|
||||
User=root
|
||||
SystemdService=pamac-system.service
|
3
data/dbus/org.manjaro.pamac.user.service
Normal file
3
data/dbus/org.manjaro.pamac.user.service
Normal file
@@ -0,0 +1,3 @@
|
||||
[D-BUS Service]
|
||||
Name=org.manjaro.pamac.user
|
||||
Exec=/usr/bin/pamac-user-daemon
|
@@ -1,12 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
INTERFACE=$1 # The interface which is brought up or down
|
||||
STATUS=$2 # The new state of the interface
|
||||
|
||||
case "$STATUS" in
|
||||
'up') # $INTERFACE is up
|
||||
[[ -e /usr/bin/mhwd-live ]] && sleep 30
|
||||
/usr/bin/pamac-refresh
|
||||
;;
|
||||
esac
|
||||
|
7
data/systemd/pamac-system.service
Normal file
7
data/systemd/pamac-system.service
Normal file
@@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
Description=Pamac System Session
|
||||
|
||||
[Service]
|
||||
Type=dbus
|
||||
BusName=org.manjaro.pamac.system
|
||||
ExecStart=/usr/bin/pamac-system-daemon
|
@@ -1,7 +0,0 @@
|
||||
[Unit]
|
||||
Description=Pamac
|
||||
|
||||
[Service]
|
||||
Type=dbus
|
||||
BusName=org.manjaro.pamac
|
||||
ExecStart=/usr/bin/pamac-daemon
|
Reference in New Issue
Block a user