Update 'instructions.txt'

This commit is contained in:
AwesomeAdam54321 2021-06-20 04:34:17 +02:00
parent c68a935859
commit 1229d58ac9

View file

@ -8,7 +8,7 @@ $ git clone https://codeberg.org/AwesomeAdam54321/LL_Runit_Scripts
There should be a folder in your current directory called "LL_Runit_Scripts". Do "cd LL_Runit_Scripts" to cd into it. There should be a folder in your current directory called "LL_Runit_Scripts". Do "cd LL_Runit_Scripts" to cd into it.
Runit services should be long running services, but oneshot services exist, so the pause executable is used to implement oneshot functionality in runit. You need to compile pause.c because Runit services should be long running services, but oneshot services exist, so the pause executable is used to implement oneshot functionality in runit. You need to compile pause.c because
it isn't worth making a deb package as it's source code is so short. The produced executable should be in your $PATH, preferably in /usr/local/bin as it's compiled. You can use any C compiler it isn't worth making a package for it as it's source code is so short. The produced executable should be in discoverable from your $PATH, preferably in /usr/local/bin as it's compiled. You can use any C compiler
to compile it but I used GCC(I needed root privileges to add files to file paths in my $PATH but it might(?) be different for you): to compile it but I used GCC(I needed root privileges to add files to file paths in my $PATH but it might(?) be different for you):
$ sudo gcc pause.c -o /usr/local/bin/pause $ sudo gcc pause.c -o /usr/local/bin/pause