Systemd Unit Files for Automatic GeoIP Updates

This commit is contained in:
Noah L. Schrick 2023-07-07 10:26:29 -05:00
parent de718de2bb
commit 5fb8459356
3 changed files with 18 additions and 1 deletions

@ -1 +1 @@
Subproject commit 4c01224fcf723e692009aaacbf42c9328a6acc2f
Subproject commit fdbdfcd93d22185e8b2b51615fbd8aa1c45aa384

View File

@ -0,0 +1,8 @@
[Unit]
Description=GeoIP Update
[Service]
Type=oneshot
User=root
Group=root
ExecStart=/usr/bin/geoipupdate

View File

@ -0,0 +1,9 @@
[Unit]
Description=Daily update of the GeoIP Database
[Timer]
OnCalendar=*-*-* 20:00:00
[Install]
WantedBy=timers.target