aboutsummaryrefslogtreecommitdiffstats
path: root/udp514-journal.service
blob: 2bef072a2c4b414e24ae92f34beedf5005face87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Forward syslog from network (udp/514) to journal
Requires=systemd-journald.socket
After=network.target

[Service]
Type=notify
Restart=always
ExecStart=/usr/bin/udp514-journal
DynamicUser=on
AmbientCapabilities=CAP_NET_BIND_SERVICE
ProtectSystem=full
ProtectHome=on
PrivateDevices=on
NoNewPrivileges=on

[Install]
WantedBy=multi-user.target