martin7

Questions about the Installing Sync on Linux guide

Recommended Posts

This is regarding the Installing Sync Package On Linux guide, the following section:

Quote

systemd

Enable sync service automatic startup as user rslsync:

sudo systemctl enable resilio-sync

Enable sync service as current user:

...

In what case would I want to do sudo systemctl enable resilio-sync vs systemctl --user enable resilio-sync I don't understand what the advantage over the other is and what is supposed to be "best practice"?

And am I supposed to run sudo systemctl enable resilio-sync as the user rslsync or as root?

Thanks for any clarifications?

Share this post


Link to post
Share on other sites
7 hours ago, martin7 said:

In what case would I want to do sudo systemctl enable resilio-sync vs systemctl --user enable resilio-sync I don't understand what the advantage over the other is and what is supposed to be "best practice"?

If you need to run Sync under your current user instead of under "rslsync" user - you need to use --user parameter. Hard to say what is the best practice because it depends on your needs. But actually it's more convenient to run Sync under your current user. 

7 hours ago, martin7 said:

And am I supposed to run sudo systemctl enable resilio-sync as the user rslsync or as root?

You need to run systemctl enable resilio-sync as root.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now