>Martin "eto" Misuth:
>>#!/bin/sh
>>exec mpd --no-daemon /usr/home/eto/.config/mpd/mpd.conf
>
>Tip: In the daemontools world all services have ther own service
>directory, at minimum; and this directory is the working directory of
>the service. You can put an mpd.conf that is particular to the service
>in the service directory itself.
This is a policy decision that is historically the daemontools way of
configuring services, but there are arguments for and against it.
I don't know how nosh organizes its service directories, but with s6
and
especially s6-rc I have a strong argument in favor of keeping
configuration
(and other read-only data) _outside_ of the service directory: the
service
directory can live in RAM.
Additionally, most Unix distributions traditionally keep their config
files in /etc, and the change to a supervision system is already a big
shock to them - the shock can be made easier to overcome if we don't
change all the habits at once. :)
Anyway, I don't think we should be arguing one way or the other;
policy decisions are best left to sysadmins and distributions.
--
Laurent
Received on Thu Dec 08 2016 - 09:55:11 UTC