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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user