Add unit file

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2023-10-13 15:18:47 +09:00
parent a250a73dd6
commit 7e8d634f64

14
speakersafetyd.service Normal file
View file

@ -0,0 +1,14 @@
[Unit]
Description=Speaker Protection Daemon
[Service]
Type=simple
ExecStart=/usr/bin/speakersafetyd -c /usr/share/speakersafetyd/
UMask=0066
Restart=on-failure
RestartSec=1
StartLimitInterval=60
StartLimitBurst=10
[Install]
WantedBy=multi-user.target