fill out arpcheck@.service file
parent
4117d3e80c
commit
6dd9959a4d
Binary file not shown.
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Use arping to detect and alert if device is present or not
|
||||||
|
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/local/bin/arpcheck /etc/arpcheck/%i
|
||||||
|
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
5. Copy arpcheck config files you made to `/etc/arpcheck` directory
|
5. Copy arpcheck config files you made to `/etc/arpcheck` directory
|
||||||
|
|
||||||
6. Copy `arpcheck@.service` file to `\etc\systemd\system`
|
6. Copy `arpcheck@.service` file to `/etc/systemd/system`
|
||||||
|
|
||||||
7. Enable service: `systemctl enable arpcheck@<name_of_config_file>.service`
|
7. Enable service: `systemctl enable arpcheck@<name_of_config_file>.service`
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue