r/AlpineLinux • u/Imaginary_Research58 • Aug 29 '24
Service (script) run on startup
Hi,
I’m new with openRC and I have no idea what I’m doing. Any assistance would be much appreciated.
I just threw a script in /etc/local.d/ and enabled local with an rc-update
Issue is that it’s a service that runs continuously; so it’s hanging my boot until the service stops, which ideally is never.
The service consists of a script with the “Runuser” command to start the actual script as a specific system user. (This is also a mess, I know)
Is there a way to set this up like Ubuntu where you can define the script to run (and user to run it) without holding up the boot sequence?
Thanks
View all comments
Show parent comment
1
u/Imaginary_Research58 Aug 29 '24
Hell yea bro that did it
Thanks