What is the best way to have a bunch of user-defined runit scripts that are all meant to…
- User
What is the best way to have a bunch of user-defined runit scripts that are all meant to start after graphical login
- Assistant
The best way to have a bunch of user-defined runit scripts that are all meant to start after graphical login is to use the user-specific runit service directory. You can create a directory for user-specific runit services, such as ~/.config/runit/user, and place your user-defined runit scripts in that directory.
After that, you can create a user-specific runit service for starting after graphical login by creating a symbolic link to your user-defined runit script in the user-specific runit service directory. For example, you can create a symbolic link to your runit script in the ~/.config/runit/user directory with a name like my-service, and runit will start it after graphical login.
Make sure that the runit script sets the appropriate dependencies and run levels to start after the graphical login service. This way, your user-defined runit scripts will start after the graphical login service and be managed by runit.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.