Cmd Generator

systemctl

Control the systemd system and service manager.

systemctl enable

Examples

# Enable at boot
systemctl enable nginx

# Disable at boot
systemctl disable nginx

# Check if enabled
systemctl is-enabled nginx

# Mask (prevent any start)
systemctl mask nginx

# Unmask
systemctl unmask nginx