Davin McCall
|
586b5dd5d3
Refactor to reduce if-nesting
|
3 months ago |
Davin McCall
|
f4d62a5047
Use "opening log file" as error stage when appropriate
|
3 months ago |
Davin McCall
|
6eaaa3b302
Improve signal handling for service processes
|
8 months ago |
Davin McCall
|
7160152e61
run-child-proc: explicitly #include mconfig.h
|
8 months ago |
Davin McCall
|
2230615fce
run child: clar supplementary groups list before calling setgid
|
8 months ago |
Davin McCall
|
a41e06c357
Implement chaining of service output through another service
|
9 months ago |
Mobin
|
5490722408
dinit-service: `logfile-permissions`, `logfile-uid`, `logfile-gid` opts
|
10 months ago |
Davin McCall
|
b9f20c58a2
More formatting fixes (tabs to spaces)
|
10 months ago |
Davin McCall
|
d6b5035d73
Slightly rework run-as processing to allow support for specific group
|
11 months ago |
Davin McCall
|
ddb605c6d9
Define USE_INITGROUPS unconditionally via mconfig-gen
|
11 months ago |
Daniel Kolesa
|
63f60db867
run-child-proc: initialize supplementary groups for named run-as
|
11 months ago |
Daniel Kolesa
|
c7b9e5ed61
Substitute env-file in service files at load
|
1 year ago |
Davin McCall
|
c66a24450b
Implement output capture to buffer
|
1 year ago |
Davin McCall
|
17be458165
FreeBSD unit test build fix
|
1 year ago |
Davin McCall
|
691c8e4ecb
Compilation fixes for libc++/FreeBSD
|
1 year ago |
Davin McCall
|
9911f34edc
Don't lose LISTEN_FDS from environment when launching child
|
1 year ago |
Davin McCall
|
564e1d031e
Initial implementation of enhanced environment support
|
1 year ago |
Davin McCall
|
b259c3378d
env file: don't try to log warnings if in forked child
|
1 year ago |
Davin McCall
|
d419aecdd6
env file: fail exec if error reading file
|
1 year ago |
Davin McCall
|
8d6ab2f98c
Initial support for cgroups
|
1 year ago |
Davin McCall
|
f823b72dce
Set group id before user id in child process
|
3 years ago |
Davin McCall
|
5e4a2693db
Log more information on exec failure.
|
4 years ago |
Davin McCall
|
4035745d53
Don't put "shares console" processes in the foreground.
|
4 years ago |
Davin McCall
|
79bfbd4f9e
Implement "env-file" service setting for service-specific environment.
|
4 years ago |
Davin McCall
|
46b3e0151d
Fix notification environment variable setting.
|
4 years ago |
Davin McCall
|
bb428a89e9
Only move fds from force_notify_fd if it is set!
|
4 years ago |
Davin McCall
|
fa38d458f2
Shuffle file descriptors as necessary to avoid clash with notify fd.
|
4 years ago |
Davin McCall
|
18ece72eeb
Implement resource limit settings.
|
4 years ago |
Davin McCall
|
f1d6fa077b
Backend support for S6-style readiness notification.
|
5 years ago |
Davin McCall
|
880fa93b35
Allow setting working directory for services.
|
6 years ago |