Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Added explicit SIGINT handler for the rootful container (PID 1) case, so you can Ctrl-C it when "run -it". |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
a0b0d8f99874374101783cf510b29984 |
| User & Date: | wyoung 2023-05-06 20:21:58.572 |
Context
|
2023-05-08
| ||
| 14:12 | Display FQDN on sync only when the verbose flag is on. check-in: cc34f3cf49 user: danield tags: trunk | |
|
2023-05-06
| ||
| 20:21 | Added explicit SIGINT handler for the rootful container (PID 1) case, so you can Ctrl-C it when "run -it". check-in: a0b0d8f998 user: wyoung tags: trunk | |
| 19:48 | Set permissions on /bin/fossil inside the container to 755, not 700. Docker doesn't care since it runs everything as virtual-root, but Podman does. Also, it complicates the extraction of a static binary since you probably didn't want it set to 700 root:root out on the host, too. check-in: 260efac1da user: wyoung tags: trunk | |
Changes
Changes to src/main.c.
| ︙ | ︙ | |||
3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 |
** allow the container to shut down quickly.
**
** This has to happen ahead of the other signal() calls below.
** They apply after the HTTP hit is handled, but this one needs
** to be registered while we're waiting for that to occur.
**/
signal(SIGTERM, fossil_exit);
}
#endif /* !WIN32 */
/* Start up an HTTP server
*/
fossil_setenv("SERVER_SOFTWARE", "fossil version " RELEASE_VERSION
" " MANIFEST_VERSION " " MANIFEST_DATE);
| > | 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 |
** allow the container to shut down quickly.
**
** This has to happen ahead of the other signal() calls below.
** They apply after the HTTP hit is handled, but this one needs
** to be registered while we're waiting for that to occur.
**/
signal(SIGTERM, fossil_exit);
signal(SIGINT, fossil_exit);
}
#endif /* !WIN32 */
/* Start up an HTTP server
*/
fossil_setenv("SERVER_SOFTWARE", "fossil version " RELEASE_VERSION
" " MANIFEST_VERSION " " MANIFEST_DATE);
|
| ︙ | ︙ |