Systemd/src
Ronny Chevalier 7d4fb3b1c5 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
2014-11-29 19:28:14 +01:00
..
ac-power treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
activate treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
analyze treewide: more log_*_errno + return simplifications 2014-11-28 18:24:30 +01:00
ask-password ask-password: Add --echo to enable echoing the user input 2014-10-05 15:29:41 -04:00
backlight treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
binfmt treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
boot Unify parse_argv style 2014-08-03 21:46:07 -04:00
bootchart treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
bus-proxyd treewide: introduce UID_INVALID (and friends) as macro for (uid_t) -1 2014-11-28 20:55:04 +01:00
cgls treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
cgroups-agent treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
cgtop treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
compat-libs build-sys: build compat libs from sources, avoiding the not generally available ifunc wrapping 2014-02-22 21:28:55 +01:00
console treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
core delta: diff returns 1 when files differ, ignore this 2014-11-29 11:10:51 -05:00
cryptsetup treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
dbus1-generator treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
debug-generator treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
delta delta: diff returns 1 when files differ, ignore this 2014-11-29 11:10:51 -05:00
detect-virt treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
efi-boot-generator treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
escape Unify parse_argv style 2014-08-03 21:46:07 -04:00
firstboot treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
fsck treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
fstab-generator treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
getty-generator treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
gpt-auto-generator treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
gudev gudev: replace regex with sym file 2014-06-21 16:25:15 +02:00
hibernate-resume treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
hostname treewide: more log_*_errno + return simplifications 2014-11-28 18:24:30 +01:00
initctl treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
journal coredump: simplify a few things by allocating small fields on the stack rather than heap 2014-11-28 20:29:44 +01:00
journal-remote treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
kernel-install kernel-install/90-loaderentry.install: fix cmdline parsing 2014-11-01 14:39:48 -04:00
libsystemd sd-bus: move packet header definition to bus-protocol.h 2014-11-28 21:12:03 +01:00
libsystemd-network treewide: more log_*_errno + return simplifications 2014-11-28 18:24:30 +01:00
libsystemd-terminal treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
libudev treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
locale treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
login delta: diff returns 1 when files differ, ignore this 2014-11-29 11:10:51 -05:00
machine treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
machine-id-setup Unify parse_argv style 2014-08-03 21:46:07 -04:00
modules-load treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
network treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
notify treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
nspawn nspawn: fix unused variable warning 2014-11-29 11:11:10 -05:00
nss-myhostname networkd: add minimal client tool "networkd" to query network status 2014-08-12 01:54:40 +02:00
nss-mymachines nss: remove dead code 2014-09-19 00:15:39 +02:00
nss-resolve nss: remove dead code 2014-09-19 00:15:39 +02:00
path treewide: yet more log_*_errno + return simplifications 2014-11-28 18:56:16 +01:00
python-systemd python-systemd: avoid hitting assert in __exit__ 2014-10-14 08:35:16 -04:00
quotacheck delta: diff returns 1 when files differ, ignore this 2014-11-29 11:10:51 -05:00
random-seed treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
rc-local-generator treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
remount-fs treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
reply-password treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
resolve treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
resolve-host treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
rfkill treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
run treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
shared delta: diff returns 1 when files differ, ignore this 2014-11-29 11:10:51 -05:00
shutdownd treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
sleep treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
socket-proxy treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
sysctl treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
system-update-generator treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
systemctl systemctl: add edit verb 2014-11-29 19:28:14 +01:00
systemd sd-bus: make more connection properties readable 2014-11-28 20:29:43 +01:00
sysusers treewide: introduce UID_INVALID (and friends) as macro for (uid_t) -1 2014-11-28 20:55:04 +01:00
sysv-generator treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
test treewide: convert some left-over (usec_t) -1 to USEC_INFINITY 2014-11-28 20:55:04 +01:00
timedate treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
timesync treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
tmpfiles treewide: introduce UID_INVALID (and friends) as macro for (uid_t) -1 2014-11-28 20:55:04 +01:00
tty-ask-password-agent treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
udev udev: rules - ignore the lack of trailing newline 2014-11-28 21:57:52 +01:00
update-done udev,update-done: more log_xyz_errno() conversions 2014-11-28 16:32:26 +01:00
update-utmp treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
vconsole delta: diff returns 1 when files differ, ignore this 2014-11-29 11:10:51 -05:00
.gitignore Add test coverage and generate report with lcov 2013-07-13 21:56:33 -04:00
Makefile