[Unit] Description=kanshi dynamic output configuration PartOf=graphical-session.target StartLimitIntervalSec=60 StartLimitBurst=5 [Service] Type=simple ExecStart=/usr/bin/kanshi Restart=always RestartSec=1 # kanshi 1.5.1 can wedge into a tight profile-list loop that forks a shell per # iteration. These bound the blast radius rather than prevent it. CPUQuota=20% LogRateLimitIntervalSec=10s LogRateLimitBurst=200 TasksMax=64 [Install] WantedBy=graphical-session.target