I have a service running under user (in terms of systemctl):
[Unit]
Requires=avahi-daemon.socket
After=NetworkManager.service network.service pipewire-pulse.service [email protected]
[Service]
Type=simple
ExecStart=/usr/local/bin/exec.sh
Restart=always
[Install]
WantedBy=gnome-session.target
it fails to start due to: Unit avahi-daemon.socket not found, but it is active and running.
I suppose, it is because avahi-daemon is running as a system service and my service is running under user session. Could anyone explain what am I doing wrong?