In openrc my configuration was much simpler. I only wrote /etc/wpa_supplicant/wpa_supplicant.conf and added to openrc wpa_supplicand and dhcpcd services. So this worked without any actions from my side.

Systemd has lot of specific functions, adding services more difficult.

I tried 'Type=Simple' as somebody offered foo service in web and it did not work.

I tried also 'ExecStop=command1 && command2' and it caused the error when I stop the service.

Also I used this one I have seen in web 'WantedBy=multi-user.target' .

Reply via email to