[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to inform users package is ready to use systemd



Hi,

On 24 Feb 2025 at 13:37:19, lorenzo wrote:
> Hi,
> 
> On Mon, 24 Feb 2025 11:48:03 +0100
> Carles Pina i Estany <carles@pina.cat> wrote:
> 
> > 
> > Hello,
> > 
> > I've packaged "simplemonitor". The package adds a simplemonitor user,
> > and a systemd service to run simplemonitor under this user and using
> > the configuration files from /etc/simplemonitor
> > 
> > I know that some user did "apt install simplemonitor" and then tried
> > to use simplemonitor without systemd (which is possible, but
> > reinventing the wheel). The user tried it that because he didn't
> > realise that simplemonitor was integrated with systemd, the
> > simplemonitor system user, checks on startup, etc.
> > 
> > My question is: how to inform users about systemd integration?
> 
> If your package uses dh_installsystemd to integrate with systemd, that
> should be enough.

Yes, the package uses dh_installsystemd (thanks to having
debian/simplemonitor.service). No extra configuration.

Installing simplemonitor via "apt", I see at the end:

-----
Unpacking simplemonitor (1.13.0-1) ...
Setting up simplemonitor (1.13.0-1) ...
Created symlink '/etc/systemd/system/multi-user.target.wants/simplemonitor.service' → '/usr/lib/systemd/system/simplemonitor.service'.
Processing triggers for man-db (2.13.0-1) ...
-----

When you said "that should be enough.": do you mean that for a user to
know that the package is systemd ready this is enough?

Thank you very much,

-- 
Carles Pina i Estany
https://carles.pina.cat | carles@pina.cat | cpina@debian.org

Attachment: signature.asc
Description: PGP signature


Reply to: