Re: Systemd user instance equivalent of dh_systemd_enable?

2018-04-08 Thread Daniele Nicolodi
Hi Simon, I'm dropping debian-mentors@d.o from the recipients list as I think it the discussion is not relevant for that list anymore. On 08/04/2018 16:20, Simon McVittie wrote: > On Sun, 08 Apr 2018 at 08:26:13 -0600, Daniele Nicolodi wrote: >> the package is dbus-broker, a replacement for

Re: Systemd user instance equivalent of dh_systemd_enable?

2018-04-08 Thread Simon McVittie
On Sun, 08 Apr 2018 at 08:26:13 -0600, Daniele Nicolodi wrote: > the package is dbus-broker, a replacement for dbus-deamon. You may have > heard of it: there has been a short exchange about its packaging for > Debian with its developers with the Debian dbus maintainers in Cc. Sorry, I didn't see

Re: Systemd user instance equivalent of dh_systemd_enable?

2018-04-08 Thread Daniele Nicolodi
On 08/04/2018 05:28, Simon McVittie wrote: > On Sat, 07 Apr 2018 at 18:18:11 -0600, Daniele Nicolodi wrote: >> I'm working on a package that installs a systemd user instance unit file >> that needs to be enabled with >> >> # systemctl --global enable foo.service > > I believe the only way to do

Re: Systemd user instance equivalent of dh_systemd_enable?

2018-04-08 Thread Daniele Nicolodi
On 08/04/2018 00:59, Jochen Sprickerhof wrote: > Hi Daniele, > > * Daniele Nicolodi [2018-04-07 18:18]: >> I'm working on a package that installs a systemd user instance unit file >> that needs to be enabled with >> >> # systemctl --global enable foo.service >> >> Using

Re: Systemd user instance equivalent of dh_systemd_enable?

2018-04-08 Thread Simon McVittie
On Sat, 07 Apr 2018 at 18:18:11 -0600, Daniele Nicolodi wrote: > I'm working on a package that installs a systemd user instance unit file > that needs to be enabled with > > # systemctl --global enable foo.service I believe the only way to do this is currently to make it be statically enabled

Re: Systemd user instance equivalent of dh_systemd_enable?

2018-04-08 Thread Bastian Blank
On Sun, Apr 08, 2018 at 12:17:39PM +0200, Alec Leamas wrote: > I'm no mentor. That said, my immediate reaction is that you cannot > really do this at package installation. systemd --user services are > managed by individual users, and the package can only prepare so that > users can enable their

Re: Systemd user instance equivalent of dh_systemd_enable?

2018-04-08 Thread Alec Leamas
Hi Daniele! On 08/04/18 02:18, Daniele Nicolodi wrote: > Hello, > > I'm working on a package that installs a systemd user instance unit file > that needs to be enabled with > > # systemctl --global enable foo.service > > Using debhelper, dh_systemd_enable takes care of this automatically for >

Re: Systemd user instance equivalent of dh_systemd_enable?

2018-04-08 Thread Jochen Sprickerhof
Hi Daniele, * Daniele Nicolodi [2018-04-07 18:18]: I'm working on a package that installs a systemd user instance unit file that needs to be enabled with # systemctl --global enable foo.service Using debhelper, dh_systemd_enable takes care of this automatically for system

Systemd user instance equivalent of dh_systemd_enable?

2018-04-07 Thread Daniele Nicolodi
Hello, I'm working on a package that installs a systemd user instance unit file that needs to be enabled with # systemctl --global enable foo.service Using debhelper, dh_systemd_enable takes care of this automatically for system unit files, but not for user unit files. Is there some other