Artix Linux Forum

General Category => Forum => Topic started by: KoO-i3 on 07 October 2020, 02:22:09

Title: Add howto for starting a service.
Post by: KoO-i3 on 07 October 2020, 02:22:09
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
Title: Re: Add howto for starting a service.
Post by: ndowens on 07 October 2020, 02:37:44
There is the wiki, which may have that info too.
Title: Re: Add howto for starting a service.
Post by: KoO-i3 on 07 October 2020, 06:50:52
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
Title: Re: Add howto for starting a service.
Post by: Dudemanguy on 07 October 2020, 18:58:42
Additionally, every init system should display help/basic usage (for your specific init) in the terminal when you install a script from the repos.