Merge pull request #9352 from offlinehacker/nixos/racoon/fix_start

nixos/racoon: create /var/racoon upon start
This commit is contained in:
Jaka Hudoklin 2015-08-20 02:26:17 +02:00
commit e057cbe580

View file

@ -36,7 +36,10 @@ in {
Type = "forking";
Restart = "always";
};
preStart = "rm /var/run/racoon.pid || true";
preStart = ''
rm /var/run/racoon.pid || true
mkdir -p /var/racoon
'';
};
};
}