Skip to content

Instantly share code, notes, and snippets.

@marcusscomputer
Last active October 1, 2020 09:51
Show Gist options
  • Save marcusscomputer/f18d4106fc8f35ccdab2a23b06247abb to your computer and use it in GitHub Desktop.
Save marcusscomputer/f18d4106fc8f35ccdab2a23b06247abb to your computer and use it in GitHub Desktop.
Service for APT Caches in SystemD
[Unit]
Description=Update APT caches every hour
After=network.target
[Service]
Type=simple
Restart=always
ExecStart=/home/marcus-s/Private/Scripts/updateApt.sh
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment