mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Partial daemon mode for builtin LED control
This commit is contained in:
18
data/rog-core.conf
Normal file
18
data/rog-core.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE busconfig PUBLIC
|
||||
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
||||
<busconfig>
|
||||
<policy group="adm">
|
||||
<allow send_destination="org.rogcore.Daemon"/>
|
||||
<allow receive_sender="org.rogcore.Daemon"/>
|
||||
</policy>
|
||||
<policy group="sudo">
|
||||
<allow send_destination="org.rogcore.Daemon"/>
|
||||
<allow receive_sender="org.rogcore.Daemon"/>
|
||||
</policy>
|
||||
<policy user="root">
|
||||
<allow own="org.rogcore.Daemon"/>
|
||||
<allow send_destination="org.rogcore.Daemon"/>
|
||||
<allow receive_sender="org.rogcore.Daemon"/>
|
||||
</policy>
|
||||
</busconfig>
|
||||
9
data/rog-core.service
Normal file
9
data/rog-core.service
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=ROG Core Daemon
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/rog-core -d
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user