18 lines
743 B
Text
18 lines
743 B
Text
post_upgrade() {
|
|
echo ">> "
|
|
echo ">> to enable and start the service instead of socklog runit service originally"
|
|
echo ">> supplied by the runit-service-scripts pkg use artix-socklog"
|
|
echo ">> "
|
|
echo ">> to do so: ln -s /usr/lib/runit/sv/artix-socklog /etc/runit/runsvdir/default/"
|
|
echo ">> "
|
|
echo ">> better yet copy the entire directory from usr/lib to /etc/runit/sv/ and"
|
|
echo ">> edit the scripts for just the services you use, to minimize pointless scans"
|
|
echo ">> then: ln -s /etc/runit/sv/artix-socklog /etc/runit/runsvdir/default/"
|
|
echo ">> "
|
|
echo ">> this way your customized service will be preserved by possible upgrades"
|
|
echo ">> "
|
|
}
|
|
|
|
post_install() {
|
|
post_upgrade
|
|
}
|