mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
errbot module: needs network-online to connect properly
This commit is contained in:
parent
36728c6eb8
commit
c5467a16c4
|
@ -84,7 +84,7 @@ in {
|
|||
dataDir = if !isNull instanceCfg.dataDir then instanceCfg.dataDir else
|
||||
"/var/lib/errbot/${name}";
|
||||
in {
|
||||
after = [ "network.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
preStart = ''
|
||||
mkdir -p ${dataDir}
|
||||
|
|
Loading…
Reference in a new issue