Reformat code
This commit is contained in:
parent
416acd4a35
commit
c997336f76
1 changed files with 4 additions and 5 deletions
|
@ -218,11 +218,10 @@ COMMAND is the systemctl command to execute on the service (e.g.,
|
|||
(sentinel (lambda (process signal)
|
||||
(when (memq (process-status process) '(exit signal))
|
||||
(message "Process: %s %s" process signal)))))
|
||||
(make-process
|
||||
:name process-name
|
||||
:buffer buffer
|
||||
:command `("ssh" ,host "sudo" "systemctl" ,command ,service)
|
||||
:sentinel sentinel)))
|
||||
(make-process :name process-name
|
||||
:buffer buffer
|
||||
:command `("ssh" ,host "sudo" "systemctl" ,command ,service)
|
||||
:sentinel sentinel)))
|
||||
|
||||
(defmacro mk/remote-define-systemctl-functions (&rest actions)
|
||||
"Dynamically create functions to interact with systemd services on a remote host.
|
||||
|
|
Loading…
Add table
Reference in a new issue