safing / portmaster-packaging

Portmaster packages and installers
GNU General Public License v3.0
49 stars 23 forks source link

linux: systemd portmaster.service change #103

Open muerta opened 6 months ago

muerta commented 6 months ago

What would you like to add or change?:

autodedection on installation if systemd-networkd or NetworkManager is enabled and started. depending on dedection, change the /etc/systemd/system/portmaster.service file

Why do you and others need this?:

example: fedora doesn't use systemd-networkd (by default). portmaster.service has by default "After=systemd-networkd.service". so it would never autostart on system boot. change to "After=NetworkManager.service" solves this problem.

example commands:

systemctl is-active systemd-networkd systemctl is-enabled systemd-networkd

systemctl is-active NetworkManager systemctl is-enabled NetworkManager

github-actions[bot] commented 6 months ago

Greetings and welcome to our community! As this is the first issue you opened here, we wanted to share some useful infos with you: