View systemctl service file
To view the content of a systemd service file, run the command systemctl cat SERVICE_NAME_HERE Example boby@sok-01:~$ systemctl cat nginx # /lib/systemd/system/nginx.service…
To view the content of a systemd service file, run the command systemctl cat SERVICE_NAME_HERE Example boby@sok-01:~$ systemctl cat nginx # /lib/systemd/system/nginx.service…
To enable /etc/rc.local file run on system startup on servers runing systemd, you can run systemctl enable rc-local Now you need to…
To enable a service on boot, run systemctl enable SERVICE_NAME To disable a service from starting on boot, run systemctl disable SERVICE_NAME…
To check if a systemctl service is enabled, run Example You can enable the service, so it run at boot with command…
Service files To list all services run To list failed services List all enabled services List timers See all running services See…