func DaemonReload(ctx context.Context, opts Options) error {
	var args = []string{"daemon-reload", "--system"}
	if opts.UserMode {
		args[1] = "--user"
	}
	_, _, _, err := execute(ctx, args)
	return err
}
// Reload systemd manager configuration.
//
// This will rerun all generators (see systemd. generator(7)), reload all unit
// files, and recreate the entire dependency tree. While the daemon is being
// reloaded, all sockets systemd listens on behalf of user configuration will
// stay accessible.
Reload systemd manager configuration.

This will rerun all generators ), reload all unit
files, and recreate the entire dependency tree. While the daemon is being
reloaded, all sockets systemd listens on behalf of user configuration will
stay accessible.
// Reload systemd manager configuration . // // This will rerun all generators ( see systemd . generator ( 7 )) reload all unit // files and recreate the entire dependency tree . While the daemon is being // reloaded all sockets systemd listens on behalf of user configuration will // stay accessible .
func DaemonReload(ctx context.Context, opts Options) error {
	var args = []string{"daemon-reload", "--system"}
	if opts.UserMode {
		args[1] = "--user"
	}
	_, _, _, err := execute(ctx, args)
	return err
}
func DaemonReload ( ctx context . Context , opts Options ) error { var args = [ ] string { " " , " " } if opts . UserMode { args [ 1 ] = " " } _ , _ , _ , err := execute ( ctx , args ) return err }
Reload systemd manager configuration.
Reload systemd manager configuration .