diff options
| author | Leo Famulari <leo@famulari.name> | 2019-12-02 19:31:15 -0500 |
|---|---|---|
| committer | Leo Famulari <leo@famulari.name> | 2019-12-04 08:31:39 -0500 |
| commit | 1a7633c2397714c492482282da670e47f7dc8177 (patch) | |
| tree | 22cab60a1e848869991e7425c9969a16fee25a1f /gnu/services/ssh.scm | |
| parent | 34369f310319b040d18864ff7435b8ee5f9a26a6 (diff) | |
services: SSH services: Provide 'ssh' and 'sshd' Shepherd services.
* gnu/services/ssh.scm (lsh-shepherd-service, dropbear-shepherd-service,
openssh-sheperd-service): Add 'ssh' and 'sshd' to provision.
Diffstat (limited to 'gnu/services/ssh.scm')
| -rw-r--r-- | gnu/services/ssh.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/services/ssh.scm b/gnu/services/ssh.scm index d026c3115e6..d2dbb8f80df 100644 --- a/gnu/services/ssh.scm +++ b/gnu/services/ssh.scm | |||
| @@ -173,7 +173,7 @@ | |||
| 173 | 173 | ||
| 174 | (list (shepherd-service | 174 | (list (shepherd-service |
| 175 | (documentation "GNU lsh SSH server") | 175 | (documentation "GNU lsh SSH server") |
| 176 | (provision '(ssh-daemon)) | 176 | (provision '(ssh-daemon ssh sshd)) |
| 177 | (requirement requires) | 177 | (requirement requires) |
| 178 | (start #~(make-forkexec-constructor (list #$@lsh-command))) | 178 | (start #~(make-forkexec-constructor (list #$@lsh-command))) |
| 179 | (stop #~(make-kill-destructor))))) | 179 | (stop #~(make-kill-destructor))))) |
| @@ -497,7 +497,7 @@ of user-name/file-like tuples." | |||
| 497 | (list (shepherd-service | 497 | (list (shepherd-service |
| 498 | (documentation "OpenSSH server.") | 498 | (documentation "OpenSSH server.") |
| 499 | (requirement '(syslogd loopback)) | 499 | (requirement '(syslogd loopback)) |
| 500 | (provision '(ssh-daemon)) | 500 | (provision '(ssh-daemon ssh sshd)) |
| 501 | (start #~(make-forkexec-constructor #$openssh-command | 501 | (start #~(make-forkexec-constructor #$openssh-command |
| 502 | #:pid-file #$pid-file)) | 502 | #:pid-file #$pid-file)) |
| 503 | (stop #~(make-kill-destructor)) | 503 | (stop #~(make-kill-destructor)) |
| @@ -606,7 +606,7 @@ of user-name/file-like tuples." | |||
| 606 | (list (shepherd-service | 606 | (list (shepherd-service |
| 607 | (documentation "Dropbear SSH server.") | 607 | (documentation "Dropbear SSH server.") |
| 608 | (requirement requires) | 608 | (requirement requires) |
| 609 | (provision '(ssh-daemon)) | 609 | (provision '(ssh-daemon ssh sshd)) |
| 610 | (start #~(make-forkexec-constructor #$dropbear-command | 610 | (start #~(make-forkexec-constructor #$dropbear-command |
| 611 | #:pid-file #$pid-file)) | 611 | #:pid-file #$pid-file)) |
| 612 | (stop #~(make-kill-destructor))))) | 612 | (stop #~(make-kill-destructor))))) |
