Systemd Unit Files for Automatic GeoIP Updates
This commit is contained in:
parent
de718de2bb
commit
5fb8459356
@ -1 +1 @@
|
|||||||
Subproject commit 4c01224fcf723e692009aaacbf42c9328a6acc2f
|
Subproject commit fdbdfcd93d22185e8b2b51615fbd8aa1c45aa384
|
||||||
8
Utility/systemd/geoip-update.service
Normal file
8
Utility/systemd/geoip-update.service
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=GeoIP Update
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
User=root
|
||||||
|
Group=root
|
||||||
|
ExecStart=/usr/bin/geoipupdate
|
||||||
9
Utility/systemd/geoip-update.timer
Normal file
9
Utility/systemd/geoip-update.timer
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Daily update of the GeoIP Database
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=*-*-* 20:00:00
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user