Linux server: rslsync as service: web interface unreachable - works if started as user.


Recommended Posts

I've installed .deb package and configured like:

tried both --user and pure service.

The issue is that while this looks good:

 systemctl --user enable resilio-sync
Created symlink /home/andre/.config/systemd/user/ → /usr/lib/systemd/user/resilio-sync.service.
andre@ODIN:~$ systemctl --user start resilio-sync
andre@ODIN:~$ systemctl --user status resilio-sync
● resilio-sync.service - Resilio Sync service
     Loaded: loaded (/usr/lib/systemd/user/resilio-sync.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2022-12-06 16:07:49 CET; 40s ago
    Process: 32086 ExecStartPre=/etc/resilio-sync/ (code=exited, status=0/SUCCESS)
    Process: 32090 ExecStart=/usr/bin/rslsync --config /home/andre/.config/resilio-sync/config.json (code=exited, status=0/SUCCESS)
    Process: 32092 ExecStartPost=/bin/sleep 1 (code=exited, status=0/SUCCESS)
   Main PID: 32091 (rslsync)
     CGroup: /user.slice/user-1000.slice/user@1000.service/resilio-sync.service
             └─32091 /usr/bin/rslsync --config /home/andre/.config/resilio-sync/config.json

I can't see the webpage at port 8888

if I stop the service and just run rslsync  - the webUI is accessible.

please advise.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.