I would like to create a generic jail and use wget to install syncthing from source.
I know (and currently doing so) that there is a syncthing plugin - but I have moved away from plugins, and like the ability to control my own updates etc with generic jails. I've done the same with plex, moved away from the plugin to a generic jail.
I can install wget, and use it to pull syncthing down into a jail. And I am happy adding storage, and sorting my permissions out. But what I am struggling with, is getting syncthing to start, running as the user I choose (created a user called syncthing) and have it automatically restart if the jail is restarted.
I know for transmission and plex I have added an entry into /etc/rc.conf that works to restart it. But I am struggling with syncthing - I have done some research but it hasn't led me anywhere useful, please could someone give me a kick in the right direction?
I know (and currently doing so) that there is a syncthing plugin - but I have moved away from plugins, and like the ability to control my own updates etc with generic jails. I've done the same with plex, moved away from the plugin to a generic jail.
I can install wget, and use it to pull syncthing down into a jail. And I am happy adding storage, and sorting my permissions out. But what I am struggling with, is getting syncthing to start, running as the user I choose (created a user called syncthing) and have it automatically restart if the jail is restarted.
I know for transmission and plex I have added an entry into /etc/rc.conf that works to restart it. But I am struggling with syncthing - I have done some research but it hasn't led me anywhere useful, please could someone give me a kick in the right direction?