[Rspamd-Users] dcc and p0f systemd startup scripts?
Hans van Eijsden
info at hansvaneijsden.nl
Wed May 22 17:10:37 UTC 2024
> I was wondering do you have any examples and/or contributions from users about a systemd startup script for a debian-type system prefered but I'll take anything systemd and try to adapt at this point?
>
> The same question for p0f, I'd like to get it going as well.
>
> If both or one or the other of these programs don't need to be running constantly, how does rspamd interact with them/start them?
>
> Thanks.
> Dave.
>
Hello Dave,
According to p0f, here is my /etc/systemd/system/p0f.service content:
===
[Service]
RemainAfterExit=yes
ExecStart=/usr/sbin/p0f -u p0f-user -d -s "/run/p0f.sock" "tcp dst port 25"
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target
===
I installed p0f via apt (Debian 12), so /usr/sbin/p0f is the default location of the executable.
As user I run it as "p0f-user" (I created that account first).
Best regards / Met vriendelijke groet,
Hans van Eijsden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4335 bytes
Desc: not available
URL: <https://lists.rspamd.com/pipermail/users/attachments/20240522/7196d953/attachment.bin>
More information about the Users
mailing list