lemmy: remove debugging statements
This commit is contained in:
parent
079ab08642
commit
d7bed3bec2
|
@ -13,16 +13,6 @@ in {
|
||||||
# federation.debug forces outbound federation queries to be run synchronously
|
# federation.debug forces outbound federation queries to be run synchronously
|
||||||
# settings.federation.debug = true;
|
# settings.federation.debug = true;
|
||||||
settings.port = backendPort;
|
settings.port = backendPort;
|
||||||
# settings.database.host = "localhost";
|
|
||||||
# defaults
|
|
||||||
# settings.database = {
|
|
||||||
# user = "lemmy";
|
|
||||||
# host = "/run/postgresql";
|
|
||||||
# # host = "localhost"; # fails with "fe_sendauth: no password supplied"
|
|
||||||
# port = 5432;
|
|
||||||
# database = "lemmy";
|
|
||||||
# pool_size = 5;
|
|
||||||
# };
|
|
||||||
ui.port = uiPort;
|
ui.port = uiPort;
|
||||||
database.createLocally = true;
|
database.createLocally = true;
|
||||||
};
|
};
|
||||||
|
@ -32,11 +22,10 @@ in {
|
||||||
DynamicUser = mkForce false;
|
DynamicUser = mkForce false;
|
||||||
User = "lemmy";
|
User = "lemmy";
|
||||||
Group = "lemmy";
|
Group = "lemmy";
|
||||||
# Environment = [ "RUST_BACKTRACE=full" "RUST_LOG=info" ];
|
|
||||||
};
|
};
|
||||||
systemd.services.lemmy.environment = {
|
systemd.services.lemmy.environment = {
|
||||||
RUST_BACKTRACE = "full";
|
RUST_BACKTRACE = "full";
|
||||||
RUST_LOG = "debug";
|
# RUST_LOG = "debug";
|
||||||
# upstream defaults LEMMY_DATABASE_URL = "postgres:///lemmy?host=/run/postgresql";
|
# upstream defaults LEMMY_DATABASE_URL = "postgres:///lemmy?host=/run/postgresql";
|
||||||
# - Postgres complains that we didn't specify a user
|
# - Postgres complains that we didn't specify a user
|
||||||
# lemmy formats the url as:
|
# lemmy formats the url as:
|
||||||
|
@ -45,7 +34,7 @@ in {
|
||||||
# - postgresql://[user[:password]@][netloc][:port][/dbname][?param1=value1&...]
|
# - postgresql://[user[:password]@][netloc][:port][/dbname][?param1=value1&...]
|
||||||
# LEMMY_DATABASE_URL = "postgres://lemmy@/run/postgresql"; # connection to server on socket "/run/postgresql/.s.PGSQL.5432" failed: FATAL: database "run/postgresql" does not exist
|
# LEMMY_DATABASE_URL = "postgres://lemmy@/run/postgresql"; # connection to server on socket "/run/postgresql/.s.PGSQL.5432" failed: FATAL: database "run/postgresql" does not exist
|
||||||
# LEMMY_DATABASE_URL = "postgres://lemmy?host=/run/postgresql"; # no PostgreSQL user name specified in startup packet
|
# LEMMY_DATABASE_URL = "postgres://lemmy?host=/run/postgresql"; # no PostgreSQL user name specified in startup packet
|
||||||
# LEMMY_DATABASE_URL = mkForce "postgres://lemmy@?host=/run/postgresql"; # WORKS!
|
# LEMMY_DATABASE_URL = mkForce "postgres://lemmy@?host=/run/postgresql"; # WORKS
|
||||||
LEMMY_DATABASE_URL = mkForce "postgres://lemmy@/lemmy?host=/run/postgresql";
|
LEMMY_DATABASE_URL = mkForce "postgres://lemmy@/lemmy?host=/run/postgresql";
|
||||||
};
|
};
|
||||||
users.groups.lemmy = {};
|
users.groups.lemmy = {};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user