summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2014-10-29 16:22:02 +0100
committerRonny Chevalier <chevalier.ronny@gmail.com>2014-11-29 19:28:14 +0100
commit7d4fb3b1c5ec7a117bd5a36e4591819a64e00136 (patch)
tree709f0d9e894b078ded96a135d06b64887ddf88f7 /TODO
parent507e28d844e335fe9fc84b549577fcce398f3a5d (diff)
downloadsystemd-7d4fb3b1c5ec7a117bd5a36e4591819a64e00136.tar.gz
systemctl: add edit verb
It helps editing units by either creating a drop-in file, like /etc/systemd/system/my.service.d/override.conf, or by copying the original unit from /usr/lib/systemd/ to /etc/systemd/ if the --full option is specified. It invokes an editor on temporary files related to the unit files and if the editor exited successfully, then it renames the temporary files to their original names (e.g. my.service or override.conf) and daemon-reload is invoked. If the temporary file is empty the modification is canceled. See https://bugzilla.redhat.com/show_bug.cgi?id=906824
Diffstat (limited to 'TODO')
-rw-r--r--TODO4
1 files changed, 2 insertions, 2 deletions
diff --git a/TODO b/TODO
index 231115302a..b5f97c7267 100644
--- a/TODO
+++ b/TODO
@@ -85,7 +85,7 @@ Features:
* systemctl: if some operation fails, show log output?
-* maybe add "systemctl edit" that copies unit files from /usr/lib/systemd/system to /etc/systemd/system and invokes vim on them
+* systemctl edit: add commented help text to the end, like git commit
* refcounting in sd-resolve is borked
@@ -766,7 +766,7 @@ External:
* zsh shell completion:
- <command> <verb> -<TAB> should complete options, but currently does not
- - systemctl add-wants,add-requires
+ - systemctl add-wants,add-requires, edit
Regularly: