27 lines
1.7 KiB
Text
27 lines
1.7 KiB
Text
post_install() {
|
|
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 " "
|
|
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 " "
|
|
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 " "
|
|
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 " "
|
|
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 " 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 " "
|
|
}
|