Created
May 3, 2016 17:34
-
-
Save gdestuynder/b34a07094b73a555eb718415242e5616 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| File: mig loader service /etc/systemd/system/mig-loader.service | |
| Do not enable/start manually (well, you can, but its not really useful) | |
| ----------------snip-------------- | |
| [Unit] | |
| Description=Runs mig-loader, the mig update service. | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/sbin/mig-loader | |
| ----------------snap--------------- | |
| File: mig loader timer /etc/systemd/system/mig-loader.timer | |
| Do enable/start: systemctl enable mig-loader.timer ; systemctl start mig-loader.timer (the first time only unless you reboot) | |
| -----------snip-------------- | |
| [Unit] | |
| Description=Run mig-loader (mig updater) at boot and every day after that. | |
| [Timer] | |
| OnBootSec=15min | |
| OnUnitActiveSec=1d | |
| [Install] | |
| WantedBy=timers.target | |
| ------------snap------------------ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment