Dotfiles : Wait for online.
This commit is contained in:
parent
e74da28052
commit
6b9b68ffa7
|
@ -2,6 +2,8 @@
|
||||||
unit = {
|
unit = {
|
||||||
description = "Install/update dotfiles on startup.";
|
description = "Install/update dotfiles on startup.";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
wants = [ "network-online.target" ];
|
||||||
|
after = [ "network-online.target" ];
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
script = ''
|
script = ''
|
||||||
cd ~
|
cd ~
|
||||||
|
|
Reference in a new issue