<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Feb 11, 2017 at 8:47 AM, Colin Law <span dir="ltr"><<a href="mailto:clanlaw@gmail.com" target="_blank">clanlaw@gmail.com</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 11 February 2017 at 13:40, Oliver Grawert <<a href="mailto:ogra@ubuntu.com">ogra@ubuntu.com</a>> wrote:<br>
> hi,<br>
> On Sa, 2017-02-11 at 13:28 +0000, Colin Law wrote:<br>
>> ues.<br>
>><br>
>> As Oliver has pointed out it depends how it is installed (though<br>
>> until<br>
>> he provided the details I was unsure of what the difference is -<br>
>> thanks Oli). Plenty of packages install not enabled. If I remember<br>
>> correctly nodered is an example. So I don't think it is an Ubuntu<br>
>> policy, it is up to the individual package maintainer.<br>
>><br>
><br>
> well, it is a debian policy (which ubuntu inherits) that all services<br>
> of a package should be started at install time by default ... but that<br>
> doesn't mean there isn't a way around it ;)<br>
<br>
</span>I stand corrected<br>
Thanks again<br>
<div class="HOEnZb"><div class="h5"><br>
</div></div></blockquote></div><br></div><div class="gmail_extra">I'm starting to think the simple way to do this is to create a second package 'foo-server' that contains only the service and init file and creates the user when installed.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Clients would only install foo.deb, but people who want the server thing would install foo-server package, and the user would be created.</div><div class="gmail_extra"><br></div><div class="gmail_extra">hmm...</div><div class="gmail_extra"><br></div></div>