jobextra/artix-socklog/socklog.install
2023-10-02 11:24:30 +03:00

19 lines
743 B
Plaintext

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
}