summaryrefslogtreecommitdiffstats
path: root/udp514-journal.service
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-01-08 13:30:44 +0100
committerGravatar Christian Hesse <mail@eworm.de>2018-01-08 13:30:44 +0100
commit54378a355c31bf2e05fa90100ea3df6fc3ad56a1 (patch)
tree9cb21d137c073261164c1e14d746550c1521cc09 /udp514-journal.service
downloadudp514-journal-54378a355c31bf2e05fa90100ea3df6fc3ad56a1.tar.gz
udp514-journal-54378a355c31bf2e05fa90100ea3df6fc3ad56a1.tar.zst
initial commit0.0.1
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