1
0
Fork 1
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:
Robin Gloster 2017-05-16 18:56:16 +02:00
parent 36728c6eb8
commit c5467a16c4
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

View file

@ -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}