X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=load-fragment.c;fp=load-fragment.c;h=9eb00531c94e27d217c5b594e363151e9733d06f;hp=d1b8199330f7355d71cb3b73ba4629b586ea9780;hb=80876c20f64f87765242bc35895977ab6a855729;hpb=4112df163517478207526e0d3e7278ab1acf1f9f diff --git a/load-fragment.c b/load-fragment.c index d1b819933..9eb00531c 100644 --- a/load-fragment.c +++ b/load-fragment.c @@ -1227,8 +1227,10 @@ static int load_from_path(Unit *u, const char *path) { { "CPUAffinity", config_parse_cpu_affinity, &(context), section }, \ { "UMask", config_parse_mode, &(context).umask, section }, \ { "Environment", config_parse_strv, &(context).environment, section }, \ - { "Output", config_parse_output, &(context).output, section }, \ - { "Input", config_parse_input, &(context).input, section }, \ + { "StandardInput", config_parse_input, &(context).std_input, section }, \ + { "StandardOutput", config_parse_output, &(context).std_output, section }, \ + { "StandardError", config_parse_output, &(context).std_output, section }, \ + { "TTYPath", config_parse_path, &(context).tty_path, section }, \ { "SyslogIdentifier", config_parse_string, &(context).syslog_identifier, section }, \ { "SyslogFacility", config_parse_facility, &(context).syslog_priority, section }, \ { "SyslogLevel", config_parse_level, &(context).syslog_priority, section }, \ @@ -1252,8 +1254,7 @@ static int load_from_path(Unit *u, const char *path) { { "LimitNICE", config_parse_limit, &(context).rlimit[RLIMIT_NICE], section }, \ { "LimitRTPRIO", config_parse_limit, &(context).rlimit[RLIMIT_RTPRIO], section }, \ { "LimitRTTIME", config_parse_limit, &(context).rlimit[RLIMIT_RTTIME], section }, \ - { "ControlGroup", config_parse_cgroup, u, section }, \ - { "NewSession", config_parse_bool, &(context).new_session, section } + { "ControlGroup", config_parse_cgroup, u, section } const ConfigItem items[] = { { "Names", config_parse_names, u, "Meta" },