<div dir="ltr"><div><div>Would it not make more sense to have this on packagers responsiblity instead like you were saying adding it into the upstream repo.<br></div>Maybe have a secondary repo that people can contribute to for distribution specific files and install scripts.<br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 24 September 2015 at 21:30, Guus Sliepen <span dir="ltr"><<a href="mailto:guus@tinc-vpn.org" target="_blank">guus@tinc-vpn.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Sep 24, 2015 at 05:45:36PM +0200, Guus Sliepen wrote:<br>
<br>
> On Thu, Sep 24, 2015 at 05:51:30PM +0300, Răzvan Sandu wrote:<br>
><br>
</span><span class="">> > IMHO, we need:<br>
> ><br>
> > 1. A proper tinc.service file, included by default (prepackaged) in the<br>
> > stock .deb and .rpm packages in Fedora, Debian, Ubuntu, CentOS, etc.<br>
> ><br>
> > By "proper" I mean it will start tinc at the correct time during system's<br>
> > initialization, have proper permissions, etc.<br>
<br>
</span>I had already experimented with systemd service files before, I just<br>
added them to the 1.1 branch. You can see them here:<br>
<br>
<a href="http://tinc-vpn.org/git/browse?p=tinc;a=tree;f=systemd;hb=refs/heads/1.1" rel="noreferrer" target="_blank">http://tinc-vpn.org/git/browse?p=tinc;a=tree;f=systemd;hb=refs/heads/1.1</a><br>
<br>
There are two service files; tinc@.service<br>
and tinc.service. The first is a template that allows you to enable and<br>
start/stop individual instances of tinc, like in:<br>
<br>
systemctl enable tinc@foo<br>
systemctl start tinc@foo<br>
<br>
This starts tincd -n foo. The second service file is itself a dummy, but<br>
all template instances are slaved to this one (using PartOf), so you can<br>
start/stop all tinc daemons in one go, like:<br>
<br>
systemctl start tinc<br>
<br>
Let me know if these work for you or not.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Met vriendelijke groet / with kind regards,<br>
Guus Sliepen <<a href="mailto:guus@tinc-vpn.org">guus@tinc-vpn.org</a>><br>
</div></div><br>_______________________________________________<br>
tinc mailing list<br>
<a href="mailto:tinc@tinc-vpn.org">tinc@tinc-vpn.org</a><br>
<a href="http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc" rel="noreferrer" target="_blank">http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc</a><br>
<br></blockquote></div><br></div>