Skip to content

Running syncthing service in user instance #337

Answered by davmac314
omnigenous asked this question in Q&A
Discussion options

You must be logged in to vote

A user service cannot reference a system service (such as network). The user dinit instance is completely separate from the system dinit instance.

I'm assuming that the network service is a service which ensures that the network is set up.

Unless there's any particular reason to think that the network might not be properly set up by the time the user instance starts, you could just remove the dependency (depends-on = network line).

do I need to create network service? What do I populate it with.

You could possibly also do this, but as to what to populate it with I'm not sure. Some command that can run as a normal user and waits until the network is set up.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@omnigenous
Comment options

Answer selected by omnigenous
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants