install: various improvements

Rename --start to --realize, to make things less confusing when doing
"systemctl stop --realize foo.service".

Introduce --realize=reload.

Don't talk to systemd when run within a chroot, or when systemd isn't
running.
This commit is contained in:
Lennart Poettering
2010-07-08 21:39:01 +02:00
parent bc8c2f5c54
commit b4f10a5e89
7 changed files with 89 additions and 45 deletions
+1 -1
View File
@@ -1039,7 +1039,7 @@ static void socket_enter_running(Socket *s, int cfd) {
socket_set_state(s, SOCKET_RUNNING);
} else {
Unit *u;
char *prefix, *instance, *name;
char *prefix, *instance = NULL, *name;
if (s->n_connections >= s->max_connections) {
log_warning("Too many incoming connections (%u)", s->n_connections);