<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/testsuite/start-stop-daemon.tests, branch join2</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=join2</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=join2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2023-11-07T06:12:40+00:00</updated>
<entry>
<title>start-stop-daemon: add -d DIR chdir option</title>
<updated>2023-11-07T06:12:40+00:00</updated>
<author>
<name>ejaaskel</name>
<email>esa.jaaskela@suomi24.fi</email>
</author>
<published>2023-11-07T06:12:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=73f28134fc0987474384fde345559d4b34bf5385'/>
<id>urn:sha1:73f28134fc0987474384fde345559d4b34bf5385</id>
<content type='text'>
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 &lt;esa.jaaskela@suomi24.fi&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>start-stop-daemon: explain -x + -a test</title>
<updated>2021-03-09T00:12:18+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-03-09T00:12:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=307cd26e9893ed0cf6ee88e7fca2d61d3da0e139'/>
<id>urn:sha1:307cd26e9893ed0cf6ee88e7fca2d61d3da0e139</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>start-stop-daemon: fix "both -x and -a" case: -a does override argv[0]</title>
<updated>2019-01-14T14:00:49+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2019-01-14T14:00:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=77524a311a510c9cc1bf6449d77b40d0f41a4a40'/>
<id>urn:sha1:77524a311a510c9cc1bf6449d77b40d0f41a4a40</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>start-stop-daemon: create pidfile before parent exits, closes 8596</title>
<updated>2019-01-14T13:47:21+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2019-01-14T13:45:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=088fec36fedff2cd50437c95b7fb430abf8d303c'/>
<id>urn:sha1:088fec36fedff2cd50437c95b7fb430abf8d303c</id>
<content type='text'>
This removes DAEMON_DOUBLE_FORK flag from bb_daemonize_or_rexec(),
as SSD was the only user.

Also includes fix for -S: now works without -a and -x,
does not print pids
(compat with "start-stop-daemon (OpenRC) 0.34.11 (Gentoo Linux)").

function                                             old     new   delta
start_stop_daemon_main                              1018    1084     +66
add_interface                                         99     103      +4
fail_hunk                                            139     136      -3
bb_daemonize_or_rexec                                205     183     -22
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/2 up/down: 70/-25)             Total: 45 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>*: make GNU licensing statement forms more regular</title>
<updated>2010-08-16T18:14:46+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2010-08-16T18:14:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0ef64bdb40c54681e8dd5ab8df42ac88e4ab1d4a'/>
<id>urn:sha1:0ef64bdb40c54681e8dd5ab8df42ac88e4ab1d4a</id>
<content type='text'>
This change retains "or later" state! No licensing _changes_ here,
only form is adjusted (article, space between "GPL" and "v2" and so on).

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>tests: fix POSIX shell source style</title>
<updated>2009-11-04T23:41:22+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2009-11-04T23:41:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=caa79406aa3d9aac512ad5a32968398cb1c2dde0'/>
<id>urn:sha1:caa79406aa3d9aac512ad5a32968398cb1c2dde0</id>
<content type='text'>
The source command does not search $PWD, and bash recently fixed itself to
follow this behavior for /bin/sh.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>ssd: do not stat -x EXECUTABLE, it is not needed anymore</title>
<updated>2008-07-01T10:00:46+00:00</updated>
<author>
<name>Denis Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2008-07-01T10:00:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7987a1844b2fdf2e8086d1e723fbcfab20defb96'/>
<id>urn:sha1:7987a1844b2fdf2e8086d1e723fbcfab20defb96</id>
<content type='text'>
ssd: use PATH
ssd: fix -a without -x case
ssd: fix help text
ssd: CLOSE_EXTRA_FDS in MMU case too
ssd: add testsuite

</content>
</entry>
</feed>
