Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-18 Thread Brian
On Sun 18 Oct 2015 at 09:50:14 +, Fredrik Jonson wrote: > Brian wrote: > > On Sat 17 Oct 2015 at 13:29:48 +0200, Michael Biebl wrote: > > > > > We might also consider bumping the prio of libpam-systemd to standard, > > > as Ansgar suggested. That means, it would be installed by default, > >

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-18 Thread Curt
On 2015-10-17, Brian wrote: > > If I were to rewrite part of the package description I would have > > If in doubt install this package. > > No comma. Its not needed. No, an apostrophe is needed. > Install this package if in doubt. > > --

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-18 Thread Fredrik Jonson
Brian wrote: > On Sat 17 Oct 2015 at 13:29:48 +0200, Michael Biebl wrote: > > > We might also consider bumping the prio of libpam-systemd to standard, > > as Ansgar suggested. That means, it would be installed by default, > > unless you explicitly deselect the standard task in d-i. > > [pri

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-18 Thread Chris Bannister
On Sun, Oct 18, 2015 at 09:10:09AM +0900, Joel Rees wrote: > > How about, > > When in doubt, definitely install this package. > > or, to guide the reader more carefully, > > This package is installed by default. Unless you have a very good > reason and know what you are doing, leave it

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-18 Thread Chris Bannister
On Sat, Oct 17, 2015 at 05:24:10AM +, Fredrik Jonson wrote: > Michael Biebl wrote: > > > Am 16.10.2015 um 19:05 schrieb Fredrik Jonson: > > > > > If in doubt, do install this package. > > > > Did you maybe misread that as > > "If in doubt, do *not* install this package". > > Yes I did.

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-17 Thread Joel Rees
On Sun, Oct 18, 2015 at 7:34 AM, Brian wrote: > On Sat 17 Oct 2015 at 22:52:36 +0100, Lisi Reisz wrote: > >> On Saturday 17 October 2015 20:19:48 Brian wrote: >> > >> > As my spouse says: >> > >> > "When you go to the Co-op, please do get butter." >> > >> > Her expectations are not necessarily m

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-17 Thread Brian
On Sat 17 Oct 2015 at 22:52:36 +0100, Lisi Reisz wrote: > On Saturday 17 October 2015 20:19:48 Brian wrote: > > > > As my spouse says: > > > > "When you go to the Co-op, please do get butter." > > > > Her expectations are not necessarily met by the eventual outcome. :) > > :-) > > Yes, but she

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-17 Thread Lisi Reisz
On Saturday 17 October 2015 20:19:48 Brian wrote: > On Sat 17 Oct 2015 at 19:40:50 +0100, Lisi Reisz wrote: > > On Saturday 17 October 2015 12:29:48 Michael Biebl wrote: > > > Am 17.10.2015 um 10:20 schrieb Fredrik Jonson: > > > > In Lisi Reisz wrote: > > > >> On Saturday 17 October 2015 06:24:10

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-17 Thread Brian
On Sat 17 Oct 2015 at 19:40:50 +0100, Lisi Reisz wrote: > On Saturday 17 October 2015 12:29:48 Michael Biebl wrote: > > Am 17.10.2015 um 10:20 schrieb Fredrik Jonson: > > > In Lisi Reisz wrote: > > >> On Saturday 17 October 2015 06:24:10 Fredrik Jonson wrote: > > >>> Michael Biebl wrote: > > >>>

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-17 Thread Lisi Reisz
On Saturday 17 October 2015 12:29:48 Michael Biebl wrote: > Am 17.10.2015 um 10:20 schrieb Fredrik Jonson: > > In Lisi Reisz wrote: > >> On Saturday 17 October 2015 06:24:10 Fredrik Jonson wrote: > >>> Michael Biebl wrote: > Am 16.10.2015 um 19:05 schrieb Fredrik Jonson: > > If in doub

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-17 Thread Brian
On Sat 17 Oct 2015 at 13:29:48 +0200, Michael Biebl wrote: > We might also consider bumping the prio of libpam-systemd to standard, > as Ansgar suggested. That means, it would be installed by default, > unless you explicitly deselect the standard task in d-i. Looking at the policy manual at ht

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-17 Thread Curt
On 2015-10-17, Brian wrote: >> >> The use of 'do' in that way suggests emphasis. If you wanted that >> emphasis, a more unambiguous way is >> >> If in doubt, *install* this package >> >> If the emphasis is unnecessary, just leave out the the 'do'. > > The sentence is unambiguous (there no wor

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-17 Thread Brian
On Sat 17 Oct 2015 at 15:01:55 +0200, Mart van de Wege wrote: > Michael Biebl writes: > > > Am 17.10.2015 um 10:20 schrieb Fredrik Jonson: > >> In Lisi Reisz wrote: > >>> On Saturday 17 October 2015 06:24:10 Fredrik Jonson wrote: > Michael Biebl wrote: > > Am 16.10.2015 um 19:05 schr

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-17 Thread Mart van de Wege
Michael Biebl writes: > Am 17.10.2015 um 10:20 schrieb Fredrik Jonson: >> In Lisi Reisz wrote: >>> On Saturday 17 October 2015 06:24:10 Fredrik Jonson wrote: Michael Biebl wrote: > Am 16.10.2015 um 19:05 schrieb Fredrik Jonson: >> If in doubt, do install this package. > >

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-17 Thread Michael Biebl
Am 17.10.2015 um 10:20 schrieb Fredrik Jonson: > In Lisi Reisz wrote: >> On Saturday 17 October 2015 06:24:10 Fredrik Jonson wrote: >>> Michael Biebl wrote: Am 16.10.2015 um 19:05 schrieb Fredrik Jonson: > If in doubt, do install this package. Did you maybe misread that as

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-17 Thread Fredrik Jonson
In Lisi Reisz wrote: > On Saturday 17 October 2015 06:24:10 Fredrik Jonson wrote: > > Michael Biebl wrote: > > > Am 16.10.2015 um 19:05 schrieb Fredrik Jonson: > > > > If in doubt, do install this package. > > > > > > Did you maybe misread that as > > > "If in doubt, do *not* install this pa

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-17 Thread Lisi Reisz
On Saturday 17 October 2015 06:24:10 Fredrik Jonson wrote: > Michael Biebl wrote: > > Am 16.10.2015 um 19:05 schrieb Fredrik Jonson: > > > If in doubt, do install this package. > > > > Did you maybe misread that as > > "If in doubt, do *not* install this package". > > Yes I did. I don't know h

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-16 Thread Fredrik Jonson
Michael Biebl wrote: > Am 16.10.2015 um 19:05 schrieb Fredrik Jonson: > > > If in doubt, do install this package. > > Did you maybe misread that as > "If in doubt, do *not* install this package". Yes I did. I don't know how many times I've read that sentence, and clearly saw a _not_ in ther

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-16 Thread Michael Biebl
Am 16.10.2015 um 19:05 schrieb Fredrik Jonson: > If in doubt, do install this package. > > When debian developers tells me in their package documentation that I really > should not install their package, I tend to follow their advice. :) Did you maybe misread that as "If in doubt, do *not* ins

Re: Starting systemd user services on boot on a Debian server [SOLVED]

2015-10-16 Thread Fredrik Jonson
Ansgar Burchardt wrote: > Fredrik Jonson writes: > > What is the recommended way to enable Systemd user services with Debian? > [...] > The documentation for "loginctl enable-linger" says "If enabled for a > specific user, a user manager is spawned for the user at boot and kept > around after

Re: Starting systemd user services on boot on a Debian server

2015-10-16 Thread Ansgar Burchardt
Fredrik Jonson writes: > Ansgar Burchardt wrote: >> Fredrik Jonson writes: >> > What is the recommended way to set up Systemd user services with Debian? >> Just run 'loginctl enable-linger [USER]' as root. > > Initially that didn't work... > > root@host# loginctl enable-linger foouser > Faile

Re: Starting systemd user services on boot on a Debian server

2015-10-16 Thread Fredrik Jonson
Ansgar Burchardt wrote: > Fredrik Jonson writes: > > What is the recommended way to set up Systemd user services with Debian? > > Just run 'loginctl enable-linger [USER]' as root. Initially that didn't work... root@host# loginctl enable-linger foouser Failed to create bus connection: No suc

Re: Starting systemd user services on boot on a Debian server

2015-10-14 Thread Ansgar Burchardt
Fredrik Jonson writes: > What is the recommended way to set up Systemd user services with Debian? [...] > AFAIU, to make this happen, I need to have a user Systemd instance started on > boot. How do I set up my Debian server to automatically start a user instance > for a regular user on boot to co

Starting systemd user services on boot on a Debian server

2015-10-13 Thread Fredrik Jonson
Hi, What is the recommended way to set up Systemd user services with Debian? With previous Debian releases I've been running services like tomcat from regular user accounts by creating wrapper scripts that controls the PATH and environment variables, and start those scripts with @reboot from the