OSDN Git Service

rename wrapsv@ to runit-wrapsv@ and modify the template for the change. runit_frontend_fixes
authormobinmob <mobinmob@disroot.org>
Sun, 3 Apr 2022 06:21:34 +0000 (09:21 +0300)
committermobinmob <mobinmob@disroot.org>
Sun, 3 Apr 2022 06:21:34 +0000 (09:21 +0300)
srcpkgs/boot-66serv/files/runit-wrapsv@ [moved from srcpkgs/boot-66serv/files/wrapsv@ with 66% similarity]
srcpkgs/boot-66serv/template

similarity index 66%
rename from srcpkgs/boot-66serv/files/wrapsv@
rename to srcpkgs/boot-66serv/files/runit-wrapsv@
index 00feff1..9034994 100644 (file)
@@ -1,4 +1,4 @@
-# The service takes the runit service name as @I - e.g. wrapsv@cupsd
+# The service takes the runit service name as @I - e.g. runit-wrapsv@cupsd
 [main]
 @type = classic
 @version = @VERSION@
index 8eb52b3..a1d6bc7 100755 (executable)
@@ -35,7 +35,7 @@ post_install() {
        # Create symlink for the boot@system service configuration file
        ln -s ../etc/66/conf/boot@system/version/boot@system "${DESTDIR}/etc/66rc.conf"
 
-       # Install runit, wrapsv@ and switch-initutils services for 66
+       # Install runit, runit-wrapsv@ and switch-initutils services for 66
        # @version should be incremented only when there is a change in the specific
        # frontend service file.
        vinstall "${FILESDIR}"/runit 644 usr/share/66/service/
@@ -43,7 +43,7 @@ post_install() {
        vinstall "${FILESDIR}"/switch-initutils-66 644 usr/share/66/service/ switch-initutils
        vsed -i "s/@VERSION@/0.0.2/" "${DESTDIR}/usr/share/66/service/switch-initutils"
        vinstall "${FILESDIR}"/wrapsv@ 644 usr/share/66/service/
-       vsed -i "s/@VERSION@/0.0.1/" "${DESTDIR}/usr/share/66/service/wrapsv@"  
+       vsed -i "s/@VERSION@/0.0.1/" "${DESTDIR}/usr/share/66/service/runit-wrapsv@"    
 
        # Install sysctl.sh in /usr/share/66/script/
        vinstall "${FILESDIR}"/sysctl.sh 755 usr/share/66/script/