Commit f1c2589d authored by Seblu's avatar Seblu
Browse files

Execute systemctl commands in parallel

parent 6034d656
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -76,6 +76,6 @@ for svc in "${services[@]}"; do
		else
			echo "systemctl restart '$svc'"
		fi
		[[ $systemd_cmd ]] && systemctl "$systemd_cmd" "$svc"
		[[ $systemd_cmd ]] && { systemctl "$systemd_cmd" "$svc" & }
	fi
done