Lennart Poettering
2038c3f584
core: add support for StandardInputFile= and friends
...
These new settings permit specifiying arbitrary paths as
stdin/stdout/stderr locations. We try to open/create them as necessary.
Some special magic is applied:
1) if the same path is specified for both input and output/stderr, we'll
open it only once O_RDWR, and duplicate them fd instead.
2) If we an AF_UNIX socket path is specified, we'll connect() to it,
rather than open() it. This allows invoking systemd services with
stdin/stdout/stderr connected to arbitrary foreign service sockets.
Fixes : #3991
2017-11-17 11:13:44 +01:00
..
2017-09-22 15:24:54 +02:00
2017-03-02 19:11:37 +01:00
2016-11-03 22:07:49 +00:00
2017-10-04 12:09:29 +02:00
2017-10-04 16:01:32 +02:00
2017-05-09 20:42:32 +02:00
2017-11-17 11:13:44 +01:00
2016-08-18 22:23:31 +02:00
2017-10-04 12:09:29 +02:00
2017-02-09 16:13:07 +01:00
2017-04-21 12:05:55 -04:00
2017-04-21 12:05:55 -04:00
2017-10-04 21:40:01 +02:00
2017-10-04 21:40:01 +02:00
2017-11-07 19:12:36 +03:00
2017-05-26 09:42:44 -04:00
2017-11-16 12:40:17 +01:00
2017-11-13 10:24:03 +01:00
2017-11-10 16:16:36 +01:00
2017-02-07 12:21:28 +01:00
2017-10-04 19:25:30 +02:00
2017-10-04 12:09:29 +02:00
2017-09-13 11:42:31 +02:00
2017-02-07 21:31:59 -05:00
2017-10-04 12:09:29 +02:00
2017-10-04 12:09:29 +02:00
2016-12-09 10:04:30 +01:00
2016-06-23 05:10:53 +03:00
2017-10-04 16:01:32 +02:00
2017-10-04 12:09:29 +02:00
2017-06-27 10:04:46 +02:00
2017-06-27 10:04:46 +02:00
2017-10-04 12:09:29 +02:00
2017-10-04 12:09:29 +02:00
2017-10-05 13:06:44 +02:00
2017-07-10 00:16:36 -04:00
2017-02-07 22:10:48 -05:00
2017-01-15 13:42:53 -05:00
2017-11-13 12:14:23 +01:00
2017-09-21 18:36:45 +02:00
2017-11-16 12:40:17 +01:00
2017-11-16 12:40:17 +01:00
2017-08-28 18:49:03 +02:00
2017-10-27 12:10:47 +09:00
2017-10-27 12:10:47 +09:00
2016-12-07 18:38:41 +01:00
2016-12-07 18:38:41 +01:00
2017-10-26 17:54:56 +02:00
2017-10-26 17:54:56 +02:00
2016-12-01 00:25:51 +01:00
2017-11-07 19:12:36 +03:00
2016-11-18 11:08:06 +01:00
2016-11-04 07:40:13 -06:00
2017-05-07 20:23:49 -04:00
2017-05-07 20:23:49 -04:00
2017-11-10 21:10:17 +01:00
2017-11-01 23:06:44 +01:00
2017-09-22 18:40:26 +02:00
2017-10-02 13:09:54 +02:00
2017-02-03 11:51:57 +01:00
2017-11-13 09:35:49 +01:00
2017-11-11 21:54:12 +09:00
2017-11-13 10:24:03 +01:00
2017-10-04 12:09:29 +02:00
2017-10-30 09:57:53 +01:00
2017-09-14 19:51:19 +02:00
2016-12-21 19:09:29 +01:00
2017-02-16 21:45:57 +01:00
2017-02-16 21:45:57 +01:00
2017-11-07 19:12:36 +03:00
2017-11-07 19:12:36 +03:00
2017-05-07 22:49:12 -04:00
2017-05-07 22:49:12 -04:00
2017-10-02 13:09:54 +02:00
2017-10-04 12:09:50 +02:00
2017-05-29 17:20:01 +02:00
2017-05-29 17:20:01 +02:00
2016-12-21 19:09:29 +01:00
2016-12-21 19:09:29 +01:00