forked from mirrors/nixpkgs
nixos/mx-puppet-discord: provide registration file & fix typo in settings example
This commit is contained in:
parent
ac72fdb086
commit
a3358146df
|
@ -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}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue