42 lines
2 KiB
Text
42 lines
2 KiB
Text
post_install() {
|
|
echo " "
|
|
echo " !!!!! Attention - Attention !!!!"
|
|
echo " Happy 2024 runit joborun users - May 2024 bring us less and less systemd pathology "
|
|
echo " "
|
|
echo " ------- This is the 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 like this:"
|
|
echo " ln -s /etc/runit/sv/<serv-name> /etc/runit/runsvdir/default/"
|
|
echo " "
|
|
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. "
|
|
echo " dhclient wpa_supplicant ntp udevd"
|
|
echo " should already be installed from joborun base, but other service dependencies are not!"
|
|
echo " A run script can only execute a program that is installed in the system, it is not able"
|
|
echo " alone to run and supervise anything, unless it is using core packages and utilities."
|
|
echo " "
|
|
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 "
|
|
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 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 " "
|
|
echo " "
|
|
echo " !!!!! Attention - Attention !!!!"
|
|
echo " "
|
|
echo " "
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|
|
|