tv.git cgit: mkdir /tmp/cgit on activation
This commit is contained in:
parent
e7f737f1eb
commit
8e56049eab
|
@ -39,7 +39,7 @@ in
|
|||
|
||||
virtual-root=/cgit
|
||||
|
||||
# TODO make this nicer
|
||||
# TODO make this nicer (and/or somewhere else)
|
||||
cache-root=/tmp/cgit
|
||||
|
||||
cache-size=1000
|
||||
|
@ -64,6 +64,11 @@ in
|
|||
'') (filter isPublicRepo (attrValues cfg.repos))}
|
||||
'';
|
||||
|
||||
system.activationScripts.cgit = ''
|
||||
mkdir -m 0700 -p /tmp/cgit
|
||||
chown fcgiwrap: /tmp/cgit
|
||||
'';
|
||||
|
||||
tv.nginx = {
|
||||
enable = true;
|
||||
retiolum-locations = [
|
||||
|
|
Loading…
Reference in a new issue