Initng .i File To Autostart Btsync On Linux


Recommended Posts

Hello,

 

I have installed BitTorrent Sync on my LaCie Network Space 2 and it is running nicely. The NS2 uses initng with its '.i' files to manage starting and stopping services (such as ftp, ssh, etc.). Could anyone provide me with guidance as to what the content should be for a btsync.i file? For example, the proftpd.i file is:

#!/sbin/itype# This is a i file, used by initng parsed by install_servicedaemon btsync {	need = virtual/net sshd/generate_keys;	exec daemon = /usr/sbin/proftpd;	pid_file = /var/run/proftpd.pid;	daemon_stops_badly;	forks;}

I have a working knowledge of the Linux command line, but my daily use of Linux was fifteen years ago. I'm not familiar with the initng process manager, and haven't been able to find any information on using it to automatically start btsync on boot.

 

Many thanks,

Jolin

Link to comment
Share on other sites

  • 6 months later...
  • 2 weeks 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.