• 0 Posts
  • 6 Comments
Joined 1 year ago
cake
Cake day: September 5th, 2023

help-circle




  • This one seemed perfect but nothing lasts after the reboot for whatever reason. If i manually re-enable the service its all good so I suspect theres no issue with the below - I added the after=multi-user.target after the first time it didn’t hold after reboot.

    
    [Unit]
    Description=Runs alsactl restore to fix microphone loop into headphones
    After=multi-user.target
    [Service]
    ExecStart=alsactl restore
    
    [Install]
    WantedBy=multi-user.target
    

    When I run a status check it shows it deactivates as soon as it runs

    Apr 11 20:32:24 XXXXX systemd[1]: Started Runs alsactl restore to fix microphone loop into headphones.
    Apr 11 20:32:24 XXXXX systemd[1]: alsactl-restore.service: Deactivated successfully.