Merge pull request #207748 from blargg/wiki-js
nixos/wiki-js: Add git and openssh to the wiki-js service path to enable git backups.
This commit is contained in:
commit
91054ce6ce
|
@ -113,7 +113,13 @@ in {
|
||||||
documentation = [ "https://docs.requarks.io/" ];
|
documentation = [ "https://docs.requarks.io/" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|
||||||
path = with pkgs; [ coreutils ];
|
path = with pkgs; [
|
||||||
|
# Needed for git storage.
|
||||||
|
git
|
||||||
|
# Needed for git+ssh storage.
|
||||||
|
openssh
|
||||||
|
];
|
||||||
|
|
||||||
preStart = ''
|
preStart = ''
|
||||||
ln -sf ${configFile} /var/lib/${cfg.stateDirectoryName}/config.yml
|
ln -sf ${configFile} /var/lib/${cfg.stateDirectoryName}/config.yml
|
||||||
ln -sf ${pkgs.wiki-js}/server /var/lib/${cfg.stateDirectoryName}
|
ln -sf ${pkgs.wiki-js}/server /var/lib/${cfg.stateDirectoryName}
|
||||||
|
|
Loading…
Reference in a new issue