Skip to content

Cannot start dinit as user #189

Answered by davmac314
root2185 asked this question in Q&A
May 20, 2023 · 2 comments · 25 replies
Discussion options

You must be logged in to vote

You can use dinit for user services as root. From the manual page:

       -s, --system
              Run as the system service manager.  This is the default if
              invoked as the root user.  This option affects the default
              service definition directory and control socket path.

and

       -u, --user
              Run as a user service manager.  This is the opposite of
              --system, and is the default if not invoked as the root user.

I hope that makes it clear. You need to use -u for a user instance if running as root.

Replies: 2 comments 25 replies

Comment options

You must be logged in to vote
16 replies
@root2185
Comment options

@davmac314
Comment options

@root2185
Comment options

@davmac314
Comment options

@root2185
Comment options

Answer selected by root2185
Comment options

You must be logged in to vote
9 replies
@root2185
Comment options

@davmac314
Comment options

@root2185
Comment options

@davmac314
Comment options

@root2185
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Question C-dinit Things about the main parts of dinit Downstream related Things about downstream projects that officially support Dinit.
3 participants
Converted from issue

This discussion was converted from issue #188 on May 20, 2023 20:48.