Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New profile: syncthing #6536

Merged
merged 2 commits into from
Dec 17, 2024
Merged

New profile: syncthing #6536

merged 2 commits into from
Dec 17, 2024

Conversation

gcb
Copy link
Contributor

@gcb gcb commented Nov 8, 2024

https://docs.syncthing.net/

tested with v1.28.0

@gcb
Copy link
Contributor Author

gcb commented Nov 8, 2024

Btw, I think this is "good enough" but this is the type of service which would be better implemented as a systemd unit file.

@gcb gcb mentioned this pull request Nov 8, 2024
@gcb
Copy link
Contributor Author

gcb commented Nov 8, 2024

previously #295

@kmk3 kmk3 changed the title Syncthing support New profile: syncthing Nov 8, 2024
src/firecfg/firecfg.config Show resolved Hide resolved
etc/profile-m-z/syncthing.profile Show resolved Hide resolved
Comment on lines +44 to +45
mkdir ${HOME}/.local/state/syncthing
whitelist ${HOME}/.local/state/syncthing
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this program intended to be executed at the user or system level?

Does the syncthing executable act as the client, server or both?

Copy link
Contributor Author

@gcb gcb Nov 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Answer is both for both questions.

Ideally it is a user service. Most commonly it is system service. But upstream likes everyone to just run the program in a terminal and then minimize it.

Then it is a peer in a network which will connect to all sorts of things (announce servers, relay servers, other peers), while also exposing servers for LAN auto-discovery and to receive other peer's connections. And on top of all that the local web server with the HTML interface.

@netblue30 netblue30 merged commit 5f69da9 into netblue30:master Dec 17, 2024
8 checks passed
@netblue30
Copy link
Owner

netblue30 commented Dec 17, 2024

Let's go with it, thanks @gcb. I will remove the program from src/firecfg/firecfg.config for now, also removed some of the noise (see above kmk3's discussions).

@gcb gcb deleted the syncthing branch December 17, 2024 16:14
kmk3 added a commit that referenced this pull request Dec 23, 2024
kmk3 added a commit that referenced this pull request Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

3 participants