5 Commits

2 changed files with 7 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
- Terminal Commands are exactly the same as sv, but produces a beautified layout.
![](https://imgur.com/jxQUIGb.png)
![](https://imgur.com/cpRWBo1.png)
## Manage and view runit services.

10
rsm
View File

@@ -2,12 +2,14 @@
#
# Artix Linux service manager (runit)
# Forked and further developed, by: linuxer <linuxer@artixlinux.org>
# Fork Date: August 15, 2020 as rsv
# Renamed and further developed as rsm from: January 10, 2021
#
# Original Author (vsv): Dave Eddy <dave@daveeddy.com>
# Date: August 29, 2018
# License: MIT
RSM_VERSION='v1.3.8'
RSM_VERSION='v1.3.9'
export SVDIR=${SVDIR:-/run/runit/service/}
export FLDIR=${FLDIR:-/etc/runit/sv/}
@@ -119,7 +121,7 @@ usage() {
cat <<EOF
$colormagenta ______ ____ __ __
$colormagenta | | \ \ / ___\ | \/ | $colorgreen Runit Service Manager ($RSM_VERSION)
$colormagenta | | \ \ / ___\ | \/ | $colorgreen Runit Service Manager for Artix Linux ($RSM_VERSION)
$colormagenta | |_/ / \____ | || | $colorgreen Source: https://gitea.artixlinux.org/linuxer/Runit-Service-Manager
$colormagenta | | \ \ \____/ | || | $colorgreen MIT License
@@ -476,7 +478,7 @@ do_enable_disable() {
rmsg 1 "failed to disable '$svc'"
ret=1
else
unlink ${SVDIR}$svc
unlink ${SVDIR}${svc}
fi
;;
*)
@@ -508,7 +510,7 @@ colors_set=false
tree=false
log=false
do_usage=-1
verbosity=0
verbosity=1
while getopts 'c:d:hltuvV' option; do
case "$option" in
c) setcolors "$OPTARG"; colors_set=true;;