Files
arpwatch/arpwatch@.service
Johannes Segitz ecf92baa6d Accepting request 1040923 from home:olh:branches:security
- Enable loading of ethercodes.dat with arpwatch.ETHERCODES.patch
- Log useless 0-source only once for each MAC

OBS-URL: https://build.opensuse.org/request/show/1040923
OBS-URL: https://build.opensuse.org/package/show/security/arpwatch?expand=0&rev=51
2022-12-12 15:39:47 +00:00

33 lines
872 B
Desktop File

# vim: syntax=systemd
[Unit]
Description=Arpwatch daemon which keeps track of ethernet/ip address pairings
After=network.target
After=exim.service
After=postfix.service
After=sendmail.service
PartOf=arpwatch.target
[Service]
Type=forking
Environment=ARPWATCH_ARGS=
EnvironmentFile=-/etc/sysconfig/arpwatch
PrivateTmp=yes
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=true
PrivateDevices=true
ProtectHostname=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
ExecStartPre=/usr/bin/touch /var/lib/arpwatch/arp.dat.%i
ExecStart=/usr/sbin/arpwatch $ARPWATCH_ARGS -i %i -f /var/lib/arpwatch/arp.dat.%i
[Install]
WantedBy=multi-user.target