Package: ntfy
Version: 2.24.0-1
Severity: wishlist

Dear Maintainer,

the ntfy web page https://docs.ntfy.sh/subscribe/cli/#using-the-systemd-service
mentions a way to run a systemd user service. Unfortunately a
service file is missing. I added
/usr/lib/systemd/user/ntfy-client.service

[Unit]
Description=ntfy client
After=network.target
Documentation=man:ntfy(1)

[Service]
ExecStart=/usr/bin/ntfy subscribe --config "%h/.config/ntfy/client.yml" 
--from-config
Restart=on-failure

[Install]
WantedBy=multi-user.target

which works perfectly.

Wouldn't this be a usefull addition to the debian package?

  Uwe


-- System Information:
Debian Release: forky/sid
  APT prefers oldstable-security
  APT policy: (500, 'oldstable-security'), (500, 'oldoldstable'), (500, 
'unstable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.1.5+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ntfy depends on:
ii  libc6                       2.42-17
ii  libsqlite3-0                3.53.4-2
ii  systemd [systemd-sysusers]  261.2-1

ntfy recommends no packages.

ntfy suggests no packages.

-- Configuration Files:
/etc/ntfy/client.yml changed [not included]

-- no debconf information

Reply via email to