Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on An Ode to Linux Desktop Users Everywhere. Parent comment
You can make a oneshot systemd unit that's WantedBy=suspend.target that just restarts it for you.
It should look something like this(didn't test because I'm not on my laptop right now):
[Unit] Description=Restart NetworkManager after resume from suspend. After=suspend.target [Service] Type=oneshot ExecStart=/usr/bin/systemctl restart NetworkManager.service [Install] WantedBy=suspend.target
There are no comments on this comment yet.
You can make a oneshot systemd unit that's WantedBy=suspend.target that just restarts it for you.
It should look something like this(didn't test because I'm not on my laptop right now):