aboutsummaryrefslogtreecommitdiff
path: root/net-misc/ntfy/files/ntfy.service
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/ntfy/files/ntfy.service')
-rw-r--r--net-misc/ntfy/files/ntfy.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-misc/ntfy/files/ntfy.service b/net-misc/ntfy/files/ntfy.service
new file mode 100644
index 0000000..2b0cd55
--- /dev/null
+++ b/net-misc/ntfy/files/ntfy.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=NTFY notifications
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/ntfy serve
+WorkingDirectory=/var/lib/ntfy
+
+User=ntfy
+Group=ntfy
+
+PrivateTmp=true
+
+[Install]
+WantedBy=multi-user.target