From b75292fac9b9e74a593807e920c13e9e4a4cf4a3 Mon Sep 17 00:00:00 2001 From: Pendosv Date: Sat, 18 Sep 2021 22:46:22 +0300 Subject: [PATCH] ref --- README.md | 40 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e4a3282..d0e8569 100644 --- a/README.md +++ b/README.md @@ -66,8 +66,42 @@ sftp host_name |:------------------: | :------------------------------------ | |```Ctrl + [``` | Analog Esc | |```d -> Ctrl + End``` | Delete from cursor to end of file | -| ```u``` | Cancel last command | -| ```Ctrl + r``` | Cancel cancel | -| ```22G``` | Go to line 22 | +| ```u``` | Undo | +| ```Ctrl + r``` | Redo | +| ```22G``` | Go to line 22 +| + + +### Autostart + +```bash +sudo vim /etc/systemd/system/.service +sudo systemctl daemon-reload +sudo systemctl start .service +sudo systemctl status .service +sudo systemctl enable .service +``` + +**"/etc/systemd/system/.service"** +```text +[Unit] +Description= +After=network.target + +[Service] +Type=simple +User= + +ExecStart= +ExecReload= +WorkingDirectory= +KillMode=process +Restart=always +RestartSec=5 + +[Install] +WantedBy=multi-user.target + +```