The nsm tool (derivative of rsm) is included:
$ nsm -h
╔╗╔╔═╗╔╦╗ Nitro Service Manager for Artix Linux (0.1.0)
║║║╚═╗║║║ Source:
╝╚╝╚═╝╩ ╩ MIT License
[nsm] Manage and view nitro services
[nsm] Made specifically for Artix Linux
[nsm] Author: replabrobin
USAGE:
nsm [OPTIONS] [SUBCOMMAND] [<ARGS>]
nsm [-u] [-d <dir>] [-h] [-t] [SUBCOMMAND] [...]
OPTIONS:
-c <yes|no|auto> Enable/disable color output, defaults to auto
-d <dir> service directory, defaults to env SVDIR or /etc/nitro/services if unset
-h Print this message and exit
-l Show log processes, this is a shortcut for 'status -l'
-t<topts> Tree view, this is a shortcut for 'status -t with optional tree opts'
-u User mode, this is a shortcut for '-d ~/.config/nitro/'
-v Increase verbosity
-V Print the version number and exit
ENV:
SVDIR The service directory to use, passed to the 'sv' command, can
be overridden with '-d <dir>'
SUBCOMMANDS:
status [-lt] [filter] Default subcommand, show process status
'-t' enables tree mode (process tree)
'-l' enables log mode (show log processes)
'filter' is an optional string to match service names against
enable <svc> [...] install service(s) into the service directory and start
disable <svc> [...] stop and remove service(s) from the service directory
create-user <user> [...] create user(s) ie ln -s user@ /user@<user>
delete-user <user> [...] delete user(s) ie remove service links
destroy-user <user> [...] delete user(s) and remove ~<user>/.config/nitro
Any other subcommand gets passed directly to the 'nitroctl' command, see nitroctl(1) for the
full list of subcommands and information about what each does specifically.
Common subcommands:
start <service> Start the service
fast-start <service> Start the service without waiting
up <service> Start the service without waiting
stop <service> Stop the service
down <service> Stop using SIGTERM or first letter of ./down-signal
restart <service> Restart the service
reload <service> Reload the service (send SIGHUP)
runlevel <level> stop current and start a new runlevel
runlevels list runlevel dirs
logs <service> Outputs the service's logfilenames and their access & error logs from /var/log/<serice>/
alllogs <service> The same like logs <service>
errorlogs <service> Outputs the service's logfilenames and their errorlogs from /var/log/<serice>/
EXAMPLES:
nsm Show service status in /var/service
nsm status Same as above
nsm -t Show service status + pstree output
nsm status -t Same as above
nsm status tty Show service status for any service that matches tty*
nsm check uuidd Check the uuidd svc, wrapper for 'nitroctl check uuidd'
nsm restart sshd Restart sshd
nsm -u Show service status in ~/.config/nitro/
nsm -u restart ssh-agent Restart ssh-agent in ~/.config/nitro/ssh-agent
$ nsm
SERVICE STATE LIVE PID COMMAND TIME
✔ acpid UP-0 true 783 acpid 1 minute
✔ agetty@tty1 UP-0 true 789 agetty 1 minute
✔ agetty@tty2 UP-0 true 787 agetty 1 minute
✔ agetty@tty3 UP-0 true 798 agetty 1 minute
✔ agetty@tty4 UP-0 true 795 agetty 1 minute
✔ agetty@tty5 UP-0 true 801 agetty 1 minute
✔ agetty@tty6 UP-0 true 805 agetty 1 minute
✔ alsabeep UP-0 true 800 alsabeep-daemon 1 minute
✔ avahi-daemon UP-65280 true 844 avahi-daemon: run 1 minute
✔ bluetoothd UP-0 true 791 bluetoothd 1 minute
✔ cronie UP-0 true 792 crond 1 minute
✔ dbus UP-0 true 781 dbus-daemon 1 minute
✔ LOG UP-0 true 784 logger 1 minute
✔ metalog UP-0 true 796 metalog [MASTER] 1 minute
✔ NetworkManager UP-0 true 780 NetworkManager 1 minute
✔ sshd UP-0 true 785 sshd -D [listener 1 minute
✔ udevd UP-0 true 808 udevd 1 minute