Skip to content

Commit

Permalink
Added systemd.service file (#25)
Browse files Browse the repository at this point in the history
systemd-service file for systems without upstart
  • Loading branch information
wioxjk authored Jun 30, 2022
1 parent 1e37905 commit 3d0ee02
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions contrib/systemd/p0f.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

[Unit]
Description=p0f - passive OS fingerprint
After=syslog.target network.target remote-fs.target nss-lookup.target

[Service]
Type=simple
PIDFile=/var/run/p0f.pid
ExecStart=/usr/sbin/p0f -f /etc/p0f/p0f.fp -i eth0 -s /tmp/.p0f_socket
Restart=always
KillMode=process
PrivateTmp=true
StandardOutput=append:/var/log/p0f.log
StandardError=append:/var/log/p0f.error
[Install]
WantedBy=multi-user.target

0 comments on commit 3d0ee02

Please sign in to comment.