rodrigosantosbr

Services - Systemd

Feb 17th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!

In Fedora 26 the init system was replaced by systemd and therefore also the commands to manage services.
The basic command to manage services with systemd is systemctl.
In your case you would have to enter the command as follows to enable the service on startup.

systemctl enable Service-Agent

To disable it again, use the command as follows.

systemctl disable Service-Agent

To start/stop/restart the service, one would have to use the commands as follows.

systemctl start Service-Agent
systemctl stop Service-Agent
systemctl restart Service-Agent

Of course you also can query the status.

systemctl status Service-Agent
Add Comment
Please, Sign In to add comment