Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Add howto for starting a service. (Read 2005 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Add howto for starting a service.

I have had a good look around your forum now and see a lot of posts about start a service as was the case with me too. Would it be possible add something to post install howto starting a service for new users not every Distro users sv for service control. Just so it is easier to find.

Code: [Select]
To see available runlevels (default and single, which just runs sulogin):

$ ls -l /etc/runit/runsvdir

To enable and start a service into the "current" runlevel:
# ln -s /etc/runit/sv/<service> /run/runit/service

To disable and remove a service:
# rm -f /run/runit/service/<service>

To view status of all services for "current" runlevel:
# sv status /run/runit/service/*

Thanks
antiX-19 i3 runit & ArtiX-i3 runit

Re: Add howto for starting a service.

Reply #1
There is the wiki, which may have that info too.

Re: Add howto for starting a service.

Reply #2
There is the wiki, which may have that info too.

Thanks I got the info posted from the wiki. Just thought it may be part of a sticky or FAQ make it easier for new user to find.

Must say your wiki is awesome inline with the arch wiki.

Thanks again
antiX-19 i3 runit & ArtiX-i3 runit

 

Re: Add howto for starting a service.

Reply #3
Additionally, every init system should display help/basic usage (for your specific init) in the terminal when you install a script from the repos.