Running syncthing service in user instance #337
-
I had my syncthing service in system instance but now I want to start using user instance.
So I modified it for user instance:
Couldn't find information on how to approach this, do I need to create network service? What do I populate it with. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
A user service cannot reference a system service (such as I'm assuming that the 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 (
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. |
Beta Was this translation helpful? Give feedback.
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).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.