nixos: sitecopy service: re-format descriptions
This commit is contained in:
parent
18851071e6
commit
5d8f61a660
|
@ -21,15 +21,16 @@ in
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
default = false;
|
default = false;
|
||||||
description = ''
|
description = ''
|
||||||
Whether to enable sitecopy backups of specified directories.
|
Whether to enable <command>sitecopy</command> backups of specified
|
||||||
|
directories.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
period = mkOption {
|
period = mkOption {
|
||||||
default = "15 04 * * *";
|
default = "15 04 * * *";
|
||||||
description = ''
|
description = ''
|
||||||
This option defines (in the format used by cron) when the
|
This option defines (in the format used by <command>cron</command>)
|
||||||
sitecopy backup are being run.
|
when the <command>sitecopy</command> backups are to be run.
|
||||||
The default is to update at 04:15 (at night) every day.
|
The default is to update at 04:15 (at night) every day.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -47,9 +48,10 @@ in
|
||||||
];
|
];
|
||||||
default = [];
|
default = [];
|
||||||
description = ''
|
description = ''
|
||||||
List of attributesets describing the backups.
|
List of attribute sets describing the backups.
|
||||||
|
|
||||||
Username/password are extracted from <filename>${stateDir}/sitecopy.secrets</filename> at activation
|
Username/password are extracted from
|
||||||
|
<filename>${stateDir}/sitecopy.secrets</filename> at activation
|
||||||
time. The secrets file lines should have the following structure:
|
time. The secrets file lines should have the following structure:
|
||||||
<screen>
|
<screen>
|
||||||
server username password
|
server username password
|
||||||
|
|
Loading…
Reference in New Issue