Re: [systemd-devel] Can I provide separate enabling for dbus-activation and "normal" start ?

2024-02-23 Thread Max Gautier
On Fri, Feb 23, 2024 at 10:19:12AM +0100, Lennart Poettering wrote: > On Do, 22.02.24 17:09, Max Gautier (m...@max.gautier.name) wrote: > > > Is it possible when writing a dbus-activable service to provide two > > separate and independent ways to enable it ? > > > > The D-Bus service file would

Re: [systemd-devel] Can I provide separate enabling for dbus-activation and "normal" start ?

2024-02-23 Thread Lennart Poettering
On Do, 22.02.24 17:09, Max Gautier (m...@max.gautier.name) wrote: > Is it possible when writing a dbus-activable service to provide two > separate and independent ways to enable it ? > > The D-Bus service file would for instance be: > [D-BUS Service] > Name=org.freedesktop.Notifications >

Re: [systemd-devel] Can I provide separate enabling for dbus-activation and "normal" start ?

2024-02-22 Thread Max Gautier
On Thu, Feb 22, 2024 at 07:43:50PM +0300, Andrei Borzenkov wrote: > On 22.02.2024 19:09, Max Gautier wrote: > > Hi, > > > > Is it possible when writing a dbus-activable service to provide two > > separate and independent ways to enable it ? > > > > The D-Bus service file would for instance be: >

Re: [systemd-devel] Can I provide separate enabling for dbus-activation and "normal" start ?

2024-02-22 Thread Andrei Borzenkov
On 22.02.2024 19:09, Max Gautier wrote: Hi, Is it possible when writing a dbus-activable service to provide two separate and independent ways to enable it ? The D-Bus service file would for instance be: [D-BUS Service] Name=org.freedesktop.Notifications Exec=notification-daemon

[systemd-devel] Can I provide separate enabling for dbus-activation and "normal" start ?

2024-02-22 Thread Max Gautier
Hi, Is it possible when writing a dbus-activable service to provide two separate and independent ways to enable it ? The D-Bus service file would for instance be: [D-BUS Service] Name=org.freedesktop.Notifications Exec=notification-daemon SystemdService=dbus-org.freedesktop.Notifications.service