How to compile, install and enable a script? 24 June 2021, 22:15:43 I am new to s6 and just made my first service (for languagetool), but I have no Idea how compile the script.The only tutorial I could find is from gentoo and I am not sure if gento uses s6 or s6-rc. Can someone describe me how to compile a script and how to add it so s6 ?Thanks in advance.
Re: How to compile, install and enable a script? Reply #1 – 24 June 2021, 23:04:47 Be sure you followed the source directory format when making the service. It needs to be in /etc/s6/sv. Then for making the compilation step easy, you can just manually run the same hook all -s6 packages use (/usr/share/libalpm/scripts/s6-rc-db-update-hook). If that returns an error, then you messed up at some point. If not, then you should be able to use the new service.
Re: How to compile, install and enable a script? Reply #2 – 28 June 2021, 23:00:44 I decided to switch to runit