rename to sshcd

This commit is contained in:
2023-07-09 19:12:27 +02:00
parent f47c57c1c0
commit e7c3a9f116
6 changed files with 21 additions and 8 deletions

View File

@@ -16,10 +16,10 @@ in
runtimeInputs = [ cfg.package ];
text = ''
${optionalString options.fetch ''
ssh-cert-dist fetch --cert-dir '${path}' --api-endpoint '${cfg.endpoint}'
sshcd fetch --cert-dir '${path}' --api-endpoint '${cfg.endpoint}'
''}
${optionalString options.upload ''
ssh-cert-dist upload --api-endpoint '${cfg.endpoint}' ${path}/*
sshcd upload --api-endpoint '${cfg.endpoint}' ${path}/*
''}
'';
});

View File

@@ -57,7 +57,7 @@ in
chown ${cfg.user}:${cfg.group} ${cfg.dataDir}
''}";
User = cfg.user;
ExecStart = "${cfg.package}/bin/ssh-cert-dist-server";
ExecStart = "${cfg.package}/bin/sshcd-server";
};
};
};