diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-06-19 23:07:24 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-06-19 23:07:24 +0200 |
| commit | 9b2fa1841b67989df9df2a8a0c1e0736a01a6d3d (patch) | |
| tree | 71d15206ea56843e4925bf6b6e4e27801cff18aa | |
| parent | 8df99af0953cbf0c6669077d5a35f88d2a7bb3c6 (diff) | |
| download | nixos-9b2fa1841b67989df9df2a8a0c1e0736a01a6d3d.tar nixos-9b2fa1841b67989df9df2a8a0c1e0736a01a6d3d.tar.gz nixos-9b2fa1841b67989df9df2a8a0c1e0736a01a6d3d.tar.bz2 nixos-9b2fa1841b67989df9df2a8a0c1e0736a01a6d3d.tar.xz nixos-9b2fa1841b67989df9df2a8a0c1e0736a01a6d3d.zip | |
Maybe if emperor runs as root?
| -rw-r--r-- | ymir.nix | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -296,6 +296,7 @@ in rec { | |||
| 296 | plugins = ["python3" "cgi"]; | 296 | plugins = ["python3" "cgi"]; |
| 297 | instance = { | 297 | instance = { |
| 298 | type = "emperor"; | 298 | type = "emperor"; |
| 299 | uid = "root"; gid = "root"; | ||
| 299 | vassals = { | 300 | vassals = { |
| 300 | "git.yggdrasil.li" = { | 301 | "git.yggdrasil.li" = { |
| 301 | type = "normal"; | 302 | type = "normal"; |
| @@ -308,6 +309,8 @@ in rec { | |||
| 308 | ]; | 309 | ]; |
| 309 | socket = "/tmp/git.yggdrasil.li.sock"; | 310 | socket = "/tmp/git.yggdrasil.li.sock"; |
| 310 | chmod-socket = "660"; | 311 | chmod-socket = "660"; |
| 312 | chown-socket = "uwsgi:nginx"; | ||
| 313 | uid = "uwsgi"; gid = "uwsgi"; | ||
| 311 | }; | 314 | }; |
| 312 | "git.rheperire.org" = { | 315 | "git.rheperire.org" = { |
| 313 | type = "normal"; | 316 | type = "normal"; |
| @@ -320,6 +323,8 @@ in rec { | |||
| 320 | ]; | 323 | ]; |
| 321 | socket = "/tmp/git.rheperire.org.sock"; | 324 | socket = "/tmp/git.rheperire.org.sock"; |
| 322 | chmod-socket = "660"; | 325 | chmod-socket = "660"; |
| 326 | chown-socket = "uwsgi:nginx"; | ||
| 327 | uid = "uwsgi"; gid = "uwsgi"; | ||
| 323 | }; | 328 | }; |
| 324 | }; | 329 | }; |
| 325 | }; | 330 | }; |
