Jörg Krause
ad401280c2
doc/config.md: Add entry about using wrapper scripts to execute pre commands
...
See: https://github.com/troglobit/finit/issues/93
2017-12-30 17:55:12 +01:00
Joachim Nilsson
e4c12314b1
doc/config.md: Mention /etc/finit.d/available/ and initctl enable
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-12-29 21:00:46 +01:00
Joachim Nilsson
c9a1a64ce5
doc/config.md: Update with changes to finit.conf and stanza limits
...
Finit v3.1 adds support for reloading /etc/finit.conf, document what
actually is read at runtime, compared to at bootstrap, and clarify
which stanzas are for what part of the boot process.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-12-29 20:52:43 +01:00
Joachim Nilsson
ef54c4826b
bootstrap.md: runparts goes before the runlevel change
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-12-29 20:51:14 +01:00
Joachim Nilsson
46b253dea6
doc: The module configuration stanza supports optional args
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-12-29 20:15:29 +01:00
Joachim Nilsson
b04983c3f3
conf: Make rlimit [hard|soft] optional => possible to set both
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-12-29 20:15:12 +01:00
Joachim Nilsson
9fc33418f9
Document nologin option flag to tty configuration directive
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-12-24 03:26:31 +01:00
Joachim Nilsson
85fe95835a
doc/build.md: Mention required library versions
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-12-22 13:17:39 +01:00
Joachim Nilsson
6f26f2f9d0
TODO: Idea about addding support for an optional rescue mode
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-12-20 09:30:49 +01:00
Joachim Nilsson
d7401b2a96
Follow-up to issue #81 : remove SysV shared memory IPC altogether
...
This change removes a long standing kernel requirement and architectural
mishap in the design of Finit v1. It is no longer necessary to include
CONFIG_SYSVIPC in the kernel to use Finit and its command line tool
initctl. It is also no longer possible to connect to the internals of
PID 1 using shmat(), the initctl tool has already been updated to use
the domain socket API.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-12-18 11:20:21 +01:00
Reverend Homer
1f55f677d1
doc: fix couple of typos in config.md
2017-12-01 20:07:58 +03:00
Joachim Nilsson
bbaa7a1403
TODO: Process callbacks replaced with conditions in Finit 3.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-11-27 22:37:38 +01:00
Joachim Nilsson
b68c5c1291
Fix #45 : add support for rlimit per service/run/task/inetd/tty
...
This patch extends the existing rlimit implementation to support setting
limits per service, run/task, inetd, and tty.
Use rlimit in /etc/finit.conf to change the global setting, which is
then inherited to each /etc/finit.d/*.conf. For each .conf file the
rlimit is reinitialized to the global finit.conf settings.
Also, add `unlimited` keyword, to replace the now deprecated `infinity`
keyword. The latter is however kept, for compatibility with previous
releases, for the foreseeable future.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-11-26 16:35:37 +01:00
Joachim Nilsson
dae21d9d64
Simplify rlimit documentation a bit
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-11-12 19:18:32 +01:00
Joachim Nilsson
b2b17ea4fb
doc/config.md: Document new tty @console support in finit.conf
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-23 19:30:24 +02:00
Joachim Nilsson
c76a58ef7a
Remove long since deprecated finit.conf: console <DEV> support
...
All this code did was trigger prctl() to set process name to "console",
which you could use as a simple means of figuring out if a process was
started from the system console.
There are other ways to do this, which Finit should not be involved in.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-23 19:28:11 +02:00
Joachim Nilsson
8749459206
doc/condiitions.md: Update and simplify, hopefully more readable
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-16 17:07:52 +02:00
Joachim Nilsson
9b8e7a0793
Minor, update documentation on raw condition dumps
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-16 14:54:48 +02:00
Joachim Nilsson
29357acf18
Update bootstrap.md to match Finit3 changes
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-15 13:09:26 +02:00
Joachim Nilsson
510b53e62d
Add simple ToC
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-14 16:35:51 +02:00
Joachim Nilsson
23481b197b
build.md: Simplify and sectionalize better
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-14 16:34:09 +02:00
Joachim Nilsson
4782b1dc54
conditions.md: Remove ToC heading and rewrite introduction
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-14 16:30:31 +02:00
Joachim Nilsson
1ee1b9cec4
signals.md: Clarify and update slightly
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-14 16:22:45 +02:00
Joachim Nilsson
cef2ef82b6
Add mini ToC for overview
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-14 16:20:46 +02:00
Joachim Nilsson
cafa759edb
distro.md: Clarify vague leading paragraph
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-14 16:18:15 +02:00
Joachim Nilsson
cf0554405b
bootstrap.md: Start updating, needs more work ...
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-14 16:17:42 +02:00
Joachim Nilsson
7104296396
Remove ToC heading and audit grammar + wording in Limitations section
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-14 16:04:56 +02:00
Joachim Nilsson
906827cc88
Move documentation to doc/ sub-directory, all except README
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-13 07:35:09 +02:00
Joachim Nilsson
843621aded
Move documentation to doc/ sub-directory, all except README + TODO
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-12 23:07:21 +02:00
Joachim Nilsson
3d5128be77
Remove Emacs Local Variables, not really needed and looks bad
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-10-12 19:01:25 +02:00
Joachim Nilsson
dce8031c83
Clarify, early on, that conditions also stop services.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-09-28 08:22:41 +02:00
Joachim Nilsson
5ed54d79fc
Update configure flags
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-09-27 09:27:15 +02:00
Joachim Nilsson
bcb9fe039a
Move running and debugging to doc/build.md
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-09-27 09:22:04 +02:00
Joachim Nilsson
f8147214f1
doc/config.md: Significant update, less limitations for /etc/finit.d
...
- Detail limitations in separate section
- Focus on syntax early in document
- Overhaul and simplify introduction
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-09-25 19:03:22 +02:00
Joachim Nilsson
376811c1a7
doc/config.md: Update run and task, mention pipes + redirects
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-09-21 22:52:48 +02:00
Joachim Nilsson
3e2b78305d
Update finit.conf tty documentation
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-09-01 06:45:29 +02:00
Joachim Nilsson
1de540dd67
Update external getty TTY documentation, remove limitations
...
Also, provide an agetty example.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-08-30 14:47:15 +02:00
Joachim Nilsson
f9f1846c8b
Document alternative tty ... config option for external getty
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-08-27 17:03:39 +02:00
Joachim Nilsson
fec00377e5
Update documentation for tty .conf option
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-09 15:36:31 +02:00
Joachim Nilsson
e48901b90f
tty: Clear tty before login: prompt by default, add 'noclear' option
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-08 15:31:59 +02:00
Joachim Nilsson
fe362341dc
finit.conf: Remove check config, replaced by fsck over /etc/fstab
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-08 15:01:31 +02:00
Joachim Nilsson
260335a19f
Usability, a servivce stopped by a user is stopped, not blocked
...
The generic term for a non-running service is blocked, but a service may
be blocked for several different reasons. When a user stops a service
with `initctl stop` the intuitive expected output from `initctl show` is
"stopped" not "blocked".
When the user later restarts the service with `initctl start` it may of
course be blocked due to wrong runlevel or a missing condition. As can
be expected from the service's configuration.
The rest of the patch refactors the internal API names a bit to reflect
this change.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-02 15:42:44 +02:00
Joachim Nilsson
1c2dcd9acc
doc: Add distribution recommendations and tips, issue #71
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-01 12:17:57 +02:00
Joachim Nilsson
32612929d9
doc/conditions.md: Attempt to clarify PID file dependency handling
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-06-10 19:49:36 +02:00
Joachim Nilsson
9ca5ec16af
doc/config.md: Minor refactor to add an Introduction section
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-06-10 19:44:48 +02:00
Joachim Nilsson
37d391d53a
doc/build.md: Remove mention of --enable-embedded configure option
...
As suggested in GitHub issue #68 .
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-03-17 16:55:02 +01:00
Joachim Nilsson
647a79ffbd
README: Add explanation of service early and link to doc/config.md
...
Also, update the service help text in doc/config.md to include info on
both runlevels and explain the condition in the listed example.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-03-08 16:09:40 +01:00
Reverend Homer
cfcdedd508
doc: fix typo in signals.md
2016-12-29 12:43:01 +03:00
Reverend Homer
ef7497094c
doc: fix typo
2016-12-26 20:44:08 +03:00
Joachim Nilsson
d423e6b774
doc: Reminder about conditions for run/task/service/inetd
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2016-09-26 21:43:56 +02:00