From 32d656b4dcc92ec67b2fc65cea2b5c077f8d82af Mon Sep 17 00:00:00 2001 From: pyrschtjag Date: Tue, 3 Nov 2026 15:44:19 +0400 Subject: [PATCH] feat(systemd): added ntfy systemd unit --- systemd/user/ntfy-notify.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 systemd/user/ntfy-notify.service diff --git a/systemd/user/ntfy-notify.service b/systemd/user/ntfy-notify.service new file mode 100644 index 0000000..13feda5 --- /dev/null +++ b/systemd/user/ntfy-notify.service @@ -0,0 +1,14 @@ +[Unit] +Description=ntfy desktop notifications +After=network-online.target +Wants=network-online.target + +[Service] +Type=simple +ExecStart=/usr/bin/python3 -u %h/Documents/.ntfy-notify/ntfy-notify.py +WorkingDirectory=%h/Documents/.ntfy-notify +Restart=always +RestartSec=10 + +[Install] +WantedBy=default.target