mirror of https://github.com/digint/btrbk
Make sure btrbk service only runs after network is available
As specified at https://www.freedesktop.org/software/systemd/man/systemd.timer.html#Persistent= the service will be activated immediately on machine boot if it would have been triggered when the machine was turned off. This makes it possible for the service to be activated before remote hosts are available. Adding the `After` directive should make sure that it is only triggered after remote hosts are reachable.pull/175/head
parent
a9f1b6b24a
commit
fd3013fb35
|
@ -1,5 +1,6 @@
|
|||
[Unit]
|
||||
Description=btrbk backup
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
|
Loading…
Reference in New Issue