mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-11-27 18:13:19 +00:00
feat(systemd): add config
This commit is contained in:
14
home/user/es-9.service
Normal file
14
home/user/es-9.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=ES-9 Audio Interface
|
||||
BindsTo=dev-snd-by\x2did-usb\x2dExpert_Sleepers_Ltd_ES\x2d9\x2d01.device
|
||||
After=dev-snd-by\x2did-usb\x2dExpert_Sleepers_Ltd_ES\x2d9\x2d01.device
|
||||
Requisite=dev-snd-by\x2did-usb\x2dExpert_Sleepers_Ltd_ES\x2d9\x2d01.device
|
||||
|
||||
[Install]
|
||||
WantedBy=dev-snd-by\x2did-usb\x2dExpert_Sleepers_Ltd_ES\x2d9\x2d01.device
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=true
|
||||
ExecStart=%h/.config/scripts/audio/es9start.sh
|
||||
ExecStop=%h/.config/scripts/audio/es9stop.sh
|
||||
Reference in New Issue
Block a user