systemctl restart is the same as systemctl stop && systemctl start.
Thus, after a resume from suspend, the script will first restore the
default settings and then apply them again, which is useless as suspend
already does that.
Instead, we use ExecReload that will simply call the script once with
systemctl reload to just reapply the new settings.
systemctl restart
is the same assystemctl stop && systemctl start
. Thus, after a resume from suspend, the script will first restore the default settings and then apply them again, which is useless as suspend already does that.Instead, we use
ExecReload
that will simply call the script once withsystemctl reload
to just reapply the new settings.