fln / addrwatch

A tool similar to arpwatch for IPv4/IPv6 and ethernet address pairing monitoring.
GNU General Public License v3.0
184 stars 30 forks source link

Proper SystemD service configuration for `addrwatch_mysql` #30

Open yakatz opened 2 years ago

yakatz commented 2 years ago

The way I understand the addrwatch_mysql binary, it can run with -f as a systemd service with Type=simple or it could run without -f and use Type=forking, but the forking type recommends a PID file, which does not seem to be an option on this binary. What is the recommended way to set this service up? Should there be more options for the executable like setting the user and PID file, similar to the main executable?

fln commented 2 years ago

Hi @yakatz, the preferred way to run addrwatch_mysql binary with systemd would be running with -f and Type=simple.