rename to sshcd
This commit is contained in:
@@ -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}/*
|
||||
''}
|
||||
'';
|
||||
});
|
||||
|
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user