| 12345678910111213141516171819202122 |
- # Optional systemd USER unit to start LuxStats with your desktop session.
- # Install:
- # mkdir -p ~/.config/systemd/user
- # cp luxstats.service ~/.config/systemd/user/
- # # edit ExecStart below to your checkout path, then:
- # systemctl --user enable --now luxstats.service
- [Unit]
- Description=LuxStats status-LED configurator
- After=graphical-session.target
- PartOf=graphical-session.target
- [Service]
- Type=forking
- # EDIT THIS PATH to where you keep the repo:
- ExecStart=%h/luxstats/luxstats.sh start
- ExecStop=%h/luxstats/luxstats.sh stop
- PIDFile=%S/luxstats/luxstats.pid
- Restart=on-failure
- RestartSec=5
- [Install]
- WantedBy=graphical-session.target
|