Include sudo...hrrrm....
This commit is contained in:
parent
12a2fe6ef8
commit
f6a96c6572
|
@ -90,7 +90,7 @@ in {
|
||||||
requiredBy = [ "lemmy.service" "postgresql.service" ];
|
requiredBy = [ "lemmy.service" "postgresql.service" ];
|
||||||
before = [ "lemmy.service" ];
|
before = [ "lemmy.service" ];
|
||||||
after = [ "postgresql.service" ];
|
after = [ "postgresql.service" ];
|
||||||
path = with pkgs; [ pwgen config.services.postgresql.package ];
|
path = with pkgs; [ sudo pwgen config.services.postgresql.package ];
|
||||||
script = ''
|
script = ''
|
||||||
PASSWD=$(pwgen 25)
|
PASSWD=$(pwgen 25)
|
||||||
mkdir -p /run/lemmy
|
mkdir -p /run/lemmy
|
||||||
|
|
Loading…
Reference in New Issue