Skip to main content
Topic: Service supervision best practices (Read 2319 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Service supervision best practices

Recently, while installing a component, my pacman gave the following output:

Code: [Select]
==> Remove a service:
 rm /run/runit/service/<service>
==> Start/stop/restart a service:
 sv <start/stop/restart> <service>

However, the service supervision section in the Artix wiki suggests:

Code: [Select]
If the service isn't going to be used anymore, the previously created symbolic link has to be removed from the runlevel directory. For example, the following command disables supervision on a service in the current runlevel:

 unlink /run/runit/service/service_name

Questions[/i]:

1. What must be ideally done to a service that is no longer necessary or whose primary packages have been removes using pacman?
2. Why does the wiki not include the prompt of the pacman output as a valid way of dealing with the issue of removing services that are no longer necessary?
#FreeHongKong