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

How to inform users package is ready to use systemd



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?

As a user, what I do when I wonder about that is "dpkg -L PACKAGE"
and see if I spot some systemd service files. And also tend to read
/usr/share/doc/PACKAGE/changelog.Debian.gz or related files to see if
the maintainer wrote any information there.

To be more proactive about that, I thought to add a debconf template
with something such as (untested, just the idea):

----
Template: simplemonitor/systemd-info
Type: note
_Description: Usage of simplemonitor
 The simplemonitor package integrates with systemd. Set it up in
 /etc/simplemonitor and then use:
    
    sudo systemctl restart simplemonitor
----

But I wonder of any more standard ways to do that, what other packages
do, etc.

Thanks very much!

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

Attachment: signature.asc
Description: PGP signature


Reply to: