summaryrefslogtreecommitdiffstats
path: root/udp514-journal.service
diff options
context:
space:
mode:
Diffstat (limited to 'udp514-journal.service')
-rw-r--r--udp514-journal.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/udp514-journal.service b/udp514-journal.service
new file mode 100644
index 0000000..5ae11f8
--- /dev/null
+++ b/udp514-journal.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Forward syslog from network (udp/514) to journal
+Requires=systemd-journald.socket
+After=network.target
+
+[Service]
+Type=notify
+ExecStart=/usr/bin/udp514-journal
+ProtectSystem=full
+ProtectHome=on
+PrivateDevices=on
+NoNewPrivileges=on
+
+[Install]
+WantedBy=multi-user.target