busybox/debianutils
ejaaskel 73f28134fc start-stop-daemon: add -d DIR chdir option
Add option to change the running directory before starting the process.
This can be done using -d or --chdir options. Add also test cases to
start-stop-daemon to test out the directory change option.

function                                             old     new   delta
packed_usage                                       34602   34648     +46
start_stop_daemon_main                              1107    1130     +23
start_stop_daemon_longopts                           156     164      +8
.rodata                                           105382  105384      +2
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 79/0)               Total: 79 bytes

Signed-off-by: ejaaskel <esa.jaaskela@suomi24.fi>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2023-11-07 07:12:40 +01:00
..
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
Kbuild.src debianutils/*: convert to new-style "one file" applets 2015-10-19 00:52:26 +02:00
pipe_progress.c Update applet size estimates 2023-07-10 17:25:21 +02:00
run_parts.c Update applet size estimates 2023-07-10 17:25:21 +02:00
start_stop_daemon.c start-stop-daemon: add -d DIR chdir option 2023-11-07 07:12:40 +01:00
which.c Update applet size estimates 2023-07-10 17:25:21 +02:00