mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 17:33:19 +01:00
23 lines
799 B
Desktop File
23 lines
799 B
Desktop File
[Unit]
|
|
Description=ASUS Notebook Control
|
|
StartLimitInterval=500
|
|
StartLimitBurst=5
|
|
After=nvidia-powerd.service systemd-udevd.service
|
|
|
|
[Service]
|
|
Environment=IS_SERVICE=1
|
|
# Reduce noisy span logs while keeping useful debug info for asusd and related crates.
|
|
# Keep global level at info but allow debug for our crates; silence tracing::span (very noisy)
|
|
# RUST_LOG format: <module>=<level>,... (levels: error,warn,info,debug,trace)
|
|
Environment=RUST_LOG="info,asusd=debug,rog_platform=debug,tracing::span=error"
|
|
# required to prevent init issues with hid_asus and MCU
|
|
ExecStartPre=/bin/sleep 1
|
|
ExecStart=/usr/bin/asusd
|
|
Restart=on-failure
|
|
RestartSec=1
|
|
Type=dbus
|
|
BusName=xyz.ljones.Asusd
|
|
SELinuxContext=system_u:system_r:unconfined_t:s0
|
|
#SELinuxContext=system_u:object_r:modules_object_t:s0
|
|
TimeoutSec=10
|