update runit-service-scripts

This commit is contained in:
joborun linux 2023-12-09 01:53:09 +02:00
parent dfdc11c9af
commit a9e9895670
2 changed files with 43 additions and 25 deletions

View file

@ -6,15 +6,16 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=runit-service-scripts
pkgver=20220422
pkgver=20231208
pkgrel=01
pkgdesc="A collection of services for runit - similar to Artix Linux"
arch=(x86_64)
groups=(base)
backup=("etc/runit/sv/" "etc/runit/runsvdir/default/")
makedepends=(sh)
makedepends=(bash)
url="https://osdn.net/projects/joborun/storage"
source=($url/tarballs/runit-sv4.tar.xz)
#source=($url/tarballs/runit-sv4.tar.xz)
source=(runit-sv5.tar.xz
rss.install)
install=rss.install
package() {
@ -27,8 +28,13 @@ package() {
cp -r $srcdir/etc/runit/runsvdir/default/* $pkgdir/etc/runit/runsvdir/default/
}
#---- license gpg-key sha256sums ----
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(GPL)
sha256sums=(7f5198a53e6bb0ae9e8777e777bd5f5b50ef9fa78732a377cd1ff390cf52d06d) # runit-sv4.tar.xz
sha256sums=(52e8d824791e61241786a4ef2c0c635d1e912bdf914e488cd54440bf90f1b7bc # runit-sv5.tar.xz
0a694ad6441cf83ea14d52a5eca1ace303e4870336a45a1ebce19a2c17689796) # rss.install
## 2d5793debd21bd58f4c04148bb1e4b12e4625fb347bac46703abcf3e50883c09 runit-service-scripts-20231208-01-x86_64.pkg.tar.lz

View file

@ -1,27 +1,39 @@
post_install() {
echo " "
echo " !!!!! Attention - Attention !!!!"
echo " "
echo " "
echo " ------- Hello this is joborun packaging team talking to you ------"
echo " "
echo " "
echo " !!!!! Attention - Attention !!!!"
echo " "
echo " "
echo " ------- Hello this is joborun packaging team talking to you ------"
echo " "
echo " Please enable services by ln -s /usr/lib/runit/sv/<serv-name> /etc/runit/runsvdir/default/"
echo " Copy/edit/hack your own services in /etc/runit/sv/ and then make links from /etc/runit/sv/<serv-name> /etc/runit/runsvdir/default/"
echo " If you are on a running system you can also link to /run/runit/service/ which is linked to /etc.../default by defaul!"
echo " Copy/edit/hack your own services in /etc/runit/sv/ and then make links from like this:"
echo " ln -s /etc/runit/sv/<serv-name> /etc/runit/runsvdir/default/"
echo " If you are on a running system you can also link to /run/runit/service/ which is linked to "
echo " /etc/runit/runsvdir/default by default!"
echo " "
echo " Also make sure you have the appropriate application installed for runit to supervise. dhclient wpa_supplicant ntp "
echo "should already be installed from joborun base, but other service dependencies are not!"
echo " Also make sure you have the appropriate application installed for runit to supervise. "
echo " dhclient wpa_supplicant ntp udevd"
echo " should already be installed from joborun base, but other service dependencies are not!"
echo " "
echo " if you look at the particular service's run script you will see the name of the executable file. Use pacman -F to"
echo "locate the package that contains it, if it is unknown to you, install the package, then enable the service."
echo " If you look at the particular service's run script you will see the name of the executable file. "
echo " Use pacman -F filename to locate the package that contains it, if it is unknown to you, "
echo " install the package, then enable the service."
echo " "
echo " Take a few minutes and familiarize yourself with /usr/lib/runit/sv service library. Those services may at times be revised and replaced by packaging."
echo " After this package upgrade /etc/runit/sv will not be altered or affected by pacjages, it belongs to the sys-admin."
echo " Take a few minutes and familiarize yourself with /usr/lib/runit/sv service library. Those "
echo " services may at times be revised and replaced by packaging. After this package upgrade"
echo " /etc/runit/sv will not be altered or affected by packages, it belongs to the sys-admin."
echo " "
echo " if you want a syslog with runit install syslog-ng (pacman -S syslog-ng) and then "
echo " ln -s /usr/lib/runit/sv/syslog-ng /etc/runit/runsvdir/default/"
echo " if you want a syslog with runit, install socklog or syslog-ng and then "
echo " ln -s /usr/lib/runit/sv/syslog-ng /etc/runit/runsvdir/default/ "
echo " or use your choice of syslog program and write a runscript for it - feel free to share "
echo "##### I hope you are having a great day and getting a system to run makes it better ###"
echo " "
echo " "
echo " "
echo " "
echo " !!!!! Attention - Attention !!!!"
echo " "
echo " "
}
post_upgrade() {
post_install
}