Add to reload the system service files. "systemctl daemon-reload"
Use case:
Adding custom systemd .service or .socket files into /etc/systemd/... requires a reload to see the new service files.
Something to the effect of:
if $name == "systemd"
<systemd direct service commands>
systemctl(comm, undef)
else
systemctl(comm, $name)
end
Add to reload the system service files. "systemctl daemon-reload"
Use case:
Adding custom systemd .service or .socket files into /etc/systemd/... requires a reload to see the new service files.
Something to the effect of: