// Equivalent to `systemctl enable nginx` with a 10 second timeout
opts:=systemctl.Options{
usermode:false,
UserMode:false,
}
err:=systemctl.Enable(ctx,unit,opts)
iferr!=nil{
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.