mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-21 17:01:10 +03:00
nixos/tsm*: update product name and URLs
With the tsm-client 8.1.19.0 release, IBM renamed the product brand from "IBM Spectrum Protect" to "IBM Storage Protect":6964770
. The package already got updated in commits5ff5b2ae4c
anda4b7a62532
. The commit at hand updates the modules accordingly.
This commit is contained in:
parent
91050ea1e5
commit
cec6d7f51a
2 changed files with 6 additions and 6 deletions
|
@ -144,7 +144,7 @@ let
|
||||||
};
|
};
|
||||||
config.name = mkDefault name;
|
config.name = mkDefault name;
|
||||||
# Client system-options file directives are explained here:
|
# Client system-options file directives are explained here:
|
||||||
# https://www.ibm.com/docs/en/spectrum-protect/8.1.13?topic=commands-processing-options
|
# https://www.ibm.com/docs/en/storage-protect/8.1.20?topic=commands-processing-options
|
||||||
config.extraConfig =
|
config.extraConfig =
|
||||||
mapAttrs (lib.trivial.const mkDefault) (
|
mapAttrs (lib.trivial.const mkDefault) (
|
||||||
{
|
{
|
||||||
|
@ -173,7 +173,7 @@ let
|
||||||
|
|
||||||
options.programs.tsmClient = {
|
options.programs.tsmClient = {
|
||||||
enable = mkEnableOption (lib.mdDoc ''
|
enable = mkEnableOption (lib.mdDoc ''
|
||||||
IBM Spectrum Protect (Tivoli Storage Manager, TSM)
|
IBM Storage Protect (Tivoli Storage Manager, TSM)
|
||||||
client command line applications with a
|
client command line applications with a
|
||||||
client system-options file "dsm.sys"
|
client system-options file "dsm.sys"
|
||||||
'');
|
'');
|
||||||
|
@ -251,7 +251,7 @@ let
|
||||||
];
|
];
|
||||||
|
|
||||||
dsmSysText = ''
|
dsmSysText = ''
|
||||||
**** IBM Spectrum Protect (Tivoli Storage Manager)
|
**** IBM Storage Protect (Tivoli Storage Manager)
|
||||||
**** client system-options file "dsm.sys".
|
**** client system-options file "dsm.sys".
|
||||||
**** Do not edit!
|
**** Do not edit!
|
||||||
**** This file is generated by NixOS configuration.
|
**** This file is generated by NixOS configuration.
|
||||||
|
|
|
@ -10,7 +10,7 @@ let
|
||||||
options.services.tsmBackup = {
|
options.services.tsmBackup = {
|
||||||
enable = mkEnableOption (lib.mdDoc ''
|
enable = mkEnableOption (lib.mdDoc ''
|
||||||
automatic backups with the
|
automatic backups with the
|
||||||
IBM Spectrum Protect (Tivoli Storage Manager, TSM) client.
|
IBM Storage Protect (Tivoli Storage Manager, TSM) client.
|
||||||
This also enables
|
This also enables
|
||||||
{option}`programs.tsmClient.enable`
|
{option}`programs.tsmClient.enable`
|
||||||
'');
|
'');
|
||||||
|
@ -81,7 +81,7 @@ in
|
||||||
programs.tsmClient.servers.${cfg.servername}.passwdDir =
|
programs.tsmClient.servers.${cfg.servername}.passwdDir =
|
||||||
mkDefault "/var/lib/tsm-backup/password";
|
mkDefault "/var/lib/tsm-backup/password";
|
||||||
systemd.services.tsm-backup = {
|
systemd.services.tsm-backup = {
|
||||||
description = "IBM Spectrum Protect (Tivoli Storage Manager) Backup";
|
description = "IBM Storage Protect (Tivoli Storage Manager) Backup";
|
||||||
# DSM_LOG needs a trailing slash to have it treated as a directory.
|
# DSM_LOG needs a trailing slash to have it treated as a directory.
|
||||||
# `/var/log` would be littered with TSM log files otherwise.
|
# `/var/log` would be littered with TSM log files otherwise.
|
||||||
environment.DSM_LOG = "/var/log/tsm-backup/";
|
environment.DSM_LOG = "/var/log/tsm-backup/";
|
||||||
|
@ -89,7 +89,7 @@ in
|
||||||
environment.HOME = "/var/lib/tsm-backup";
|
environment.HOME = "/var/lib/tsm-backup";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
# for exit status description see
|
# for exit status description see
|
||||||
# https://www.ibm.com/docs/en/spectrum-protect/8.1.13?topic=clients-client-return-codes
|
# https://www.ibm.com/docs/en/storage-protect/8.1.20?topic=clients-client-return-codes
|
||||||
SuccessExitStatus = "4 8";
|
SuccessExitStatus = "4 8";
|
||||||
# The `-se` option must come after the command.
|
# The `-se` option must come after the command.
|
||||||
# The `-optfile` option suppresses a `dsm.opt`-not-found warning.
|
# The `-optfile` option suppresses a `dsm.opt`-not-found warning.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue