Gentoo ebuild for btsync


BtbN

Recommended Posts

I'm using gentoo, so i made an ebuild + init script for btsync.

If someone wants to use it, it's on my overlay: http://git.btbn.de/gentoo-overlay.git/tree/net-p2p/btsync

It has an init-script and conf.d file, so you can start btsync as system daemon on startup.

The configuration file for the system daemon resides in /etc/btsync.conf

You have to configure the user(most likely your normal system user) as which btsync is run in /etc/conf.d/btsync

The only real important setting is the pidfile, as the init system relies on it to be created in the right place, so don't change the preset path.

Link to comment
Share on other sites

  • 5 months later...

Hey there, I also wrote an ebuild for Btsync - concentrating on getting systemd support right. My build has some attempted init.d support in it, but as I do not use init.d on any of my machines, I have no idea whether it works. 

 

I will try to follow your example to ensure that my ebuild properly supports init.d. You could also pull from me for systemd support.

 

My ebuild is here, and I also wrote this nice tutorial/description for how my ebuild deals with systemd.

Link to comment
Share on other sites

  • 5 months later...

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.

Guest
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.