restructure
This commit is contained in:
parent
ef7661245b
commit
598a10bc28
182 changed files with 342 additions and 336 deletions
|
@ -243,7 +243,7 @@ pidfile="/var/run/${RC_SVCNAME}.pid"
|
|||
guarantees that your PID file has a unique name.
|
||||
|
||||
## Upstream your service scripts (for packagers)
|
||||
The ideal place for an OpenRC service script is **upstream**. Much like [systemd](Systemd.md) services, a well-crafted OpenRC service script should be distribution-agnostic, and the best place for it is upstream. Why? For two reasons. First, having it upstream means that there's a single authoritative source for improvements. Second, a few paths in every service script are dependent upon flags passed to the build system. For example,
|
||||
The ideal place for an OpenRC service script is **upstream**. Much like [systemd](systemd/Systemd.md) services, a well-crafted OpenRC service script should be distribution-agnostic, and the best place for it is upstream. Why? For two reasons. First, having it upstream means that there's a single authoritative source for improvements. Second, a few paths in every service script are dependent upon flags passed to the build system. For example,
|
||||
```sh
|
||||
command=/usr/bin/foo
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue