func Enable(ctx context.Context, unit string, opts Options) error {
	var args = []string{"enable", "--system", unit}
	if opts.UserMode {
		args[1] = "--user"
	}
	_, _, _, err := execute(ctx, args)
	return err
}
// Enable one or more units or unit instances.
//
// This will create a set of symlinks, as encoded in the [Install] sections of
// the indicated unit files. After the symlinks have been created, the system
// manager configuration is reloaded (in a way equivalent to daemon-reload),
// in order to ensure the changes are taken into account immediately.
Enable one or more units or unit instances.

This will create a set of symlinks, as encoded in the [Install] sections of
the indicated unit files. After the symlinks have been created, the system
manager configuration is reloaded (in a way equivalent to daemon-reload),
in order to ensure the changes are taken into account immediately.
// Enable one or more units or unit instances . // // This will create a set of symlinks as encoded in the [ Install ] sections of // the indicated unit files . After the symlinks have been created the system // manager configuration is reloaded ( in a way equivalent to daemon - reload ) // in order to ensure the changes are taken into account immediately .
func Enable(ctx context.Context, unit string, opts Options) error {
	var args = []string{"enable", "--system", unit}
	if opts.UserMode {
		args[1] = "--user"
	}
	_, _, _, err := execute(ctx, args)
	return err
}
func Enable ( ctx context . Context , unit string , opts Options ) error { var args = [ ] string { " " , " " , unit } if opts . UserMode { args [ 1 ] = " " } _ , _ , _ , err := execute ( ctx , args ) return err }
Enable one or more units or unit instances.
Enable one or more units or unit instances .