service
Runs a System V init script.
Syntax
$service SERVICE COMMAND
Examples
Examples
$service nginx restart
Examples
$service ssh status
Distro comparison
Restart service
systemd and classic init commands for service restarts.
Enable service at boot
Enable services to start automatically.
Typical use cases
service nginx restart
service ssh status
Note
Legacy service management.
Export