3
0
Fork 0
forked from mirrors/nixpkgs

nixos/mx-puppet-discord: provide registration file & fix typo in settings example

This commit is contained in:
gardspirito 2021-11-13 02:24:16 +03:00
parent ac72fdb086
commit a3358146df
No known key found for this signature in database
GPG key ID: 5BC37C66336029C5

View file

@ -39,7 +39,7 @@ in {
#defaults to sqlite but can be configured to use postgresql with #defaults to sqlite but can be configured to use postgresql with
#connstring #connstring
database.filename = "${dataDir}/mx-puppet-discord/database.db"; database.filename = "${dataDir}/database.db";
logging = { logging = {
console = "info"; console = "info";
lineDateFormat = "MMM-D HH:mm:ss.SSS"; lineDateFormat = "MMM-D HH:mm:ss.SSS";
@ -110,7 +110,9 @@ in {
UMask = 0027; UMask = 0027;
ExecStart = '' ExecStart = ''
${pkgs.mx-puppet-discord}/bin/mx-puppet-discord -c ${settingsFile} ${pkgs.mx-puppet-discord}/bin/mx-puppet-discord \
-c ${settingsFile} \
-f ${registrationFile}
''; '';
}; };
}; };