mirror of
https://github.com/troglobit/finit.git
synced 2026-11-03 13:28:27 +00:00
docs: Fix a few typos
There are small typos in: - doc/conditions.md - src/mount.c - src/svc.h Fixes: - Should read `satisfied` rather than `satsifed`. - Should read `process` rather than `prorcess`. - Should read `measure` rather than `meausre`.
This commit is contained in:
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -180,7 +180,7 @@ PID IDENT STATUS CONDITION (+ ON, ~ FLUX, - OFF)
|
|||||||
|
|
||||||
Here we can see that `netd` is allowed to run since both its conditions
|
Here we can see that `netd` is allowed to run since both its conditions
|
||||||
are in the `on` state, as indicated by the `+`-prefix. `udhcpc` however
|
are in the `on` state, as indicated by the `+`-prefix. `udhcpc` however
|
||||||
is not allowed to run since `net/vlan1/exist` condition is not satsifed.
|
is not allowed to run since `net/vlan1/exist` condition is not satisfied.
|
||||||
As indicated by the `-`-prefix.
|
As indicated by the `-`-prefix.
|
||||||
|
|
||||||
To fake interface `vlan1` suddenly appearing, and test what happens to
|
To fake interface `vlan1` suddenly appearing, and test what happens to
|
||||||
|
|||||||
+1
-1
@@ -28,7 +28,7 @@
|
|||||||
/*
|
/*
|
||||||
* SysV init on Debian/Ubuntu skips these protected mount points
|
* SysV init on Debian/Ubuntu skips these protected mount points
|
||||||
*
|
*
|
||||||
* It also skips anything below /proc, /sys and /run for good meausre so
|
* It also skips anything below /proc, /sys and /run for good measure so
|
||||||
* we do the same here. What we want is a list of non-protected tmpfs
|
* we do the same here. What we want is a list of non-protected tmpfs
|
||||||
* and regular filesystems that can be safely unmounted before we do
|
* and regular filesystems that can be safely unmounted before we do
|
||||||
* swapoff, and remount / as read-only, respectively.
|
* swapoff, and remount / as read-only, respectively.
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ typedef struct svc {
|
|||||||
struct cgroup cgroup;
|
struct cgroup cgroup;
|
||||||
|
|
||||||
/* Service details */
|
/* Service details */
|
||||||
int sighalt; /* Signal to stop prorcess, default: SIGTERM */
|
int sighalt; /* Signal to stop process, default: SIGTERM */
|
||||||
int killdelay; /* Delay in msec before sending SIGKILL */
|
int killdelay; /* Delay in msec before sending SIGKILL */
|
||||||
pid_t oldpid, pid;
|
pid_t oldpid, pid;
|
||||||
char pidfile[256];
|
char pidfile[256];
|
||||||
|
|||||||
Reference in new issue
Block a user