aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2024-02-06 13:20:18 +0100
committerPatrick Spek <p.spek@tyil.nl>2024-02-06 13:20:18 +0100
commita7e7d5d6975ae9626ec6cc71adf83c494468630e (patch)
tree08ca81a7dee75f25f5dfa07370c593961c57177b /.config/systemd
parentd6084153819efa094200d850bbbcddf79876140f (diff)
Add systemd service for ntfy
Diffstat (limited to '.config/systemd')
-rw-r--r--.config/systemd/user/ntfy@.service (renamed from .config/systemd/user/ntfy.service)3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/systemd/user/ntfy.service b/.config/systemd/user/ntfy@.service
index 0906333..8344170 100644
--- a/.config/systemd/user/ntfy.service
+++ b/.config/systemd/user/ntfy@.service
@@ -1,10 +1,11 @@
[Unit]
Description=Start ntfy
PartOf=graphical-session.target
+After=network.target
[Service]
Type=exec
-ExecStart=/usr/bin/ntfy subscribe --from-config
+ExecStart=/usr/bin/ntfy subscribe "%i" notify-send "$t" "$m"
Restart=on-failure
[Install]