service

Manage services by running init scripts. The full script path should be omitted (/etc/init.d/ is assumed). More information: <https://manned.org/service>.

Debian Debian
RUN apt-get update && \ apt-get install -y sysvinit-utils
Ubuntu
RUN apt-get update && \ apt-get install -y sysvinit-utils
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y init-system-helpers
CentOS
RUN yum install -y initscripts
Fedora
RUN dnf install -y initscripts
Raspbian
RUN apt-get update && \ apt-get install -y sysvinit-utils
click the source code to copy install service on any operating system with command-not-found.com