Skip to content

Systemd map updater example

pgbv edited this page Oct 28, 2025 · 1 revision

nfk-maps.service:

[Unit]
Description=Service for updating nfk maps from git repository
After=network-online.target

[Service]
Restart=on-failure
Type=oneshot
WorkingDirectory=/opt/nfk-maps
ExecStart=/usr/bin/git pull

nfk-maps.timer:

[Unit]
Description=Timer for updating nfk maps from git repository

[Timer]
OnCalendar=*:0/5
Persistent=true

[Install]
WantedBy=timers.target

Clone this wiki locally