Hi,
I need some advise on how to change the port 8080 to 4040 for Airsonic. I found the dietpi.services app and saw that the line with airsonic port 8080 was not activated. Changing the port to 4040 and removing the # in front resulted in an error ( [FAILED] DietPi-Services | restart : airsonic )
So where can I change this ?
System : Raspi 5 on an 500 Gb NVMe M2 SSD , latest version of Dietpi.
Hi
whilst checking around I found this file : /etc/systemd/system/airsonic.service which was still showing 8080. dietpi-services did not change that one. I edited it manually to 4040 and it works now as expected.
Tks
There is a typo in your edited unit file, the screenshot gives some info, probably you missed the = or something.
If you like you can share cat /etc/systemd/system/airsonic.service.d/dietpi-services_edit.conf to see what was wrong.
But good it’s working now by editing the unit file itself.
Just to troubleshoot the error:
you copied it into the [Install] block, but you would need to comment out the line in the [Service] block, change the port number there and add the empty ExecStart= before.