[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[shepherd] 06/09: Rename default system configuration file.
From: |
Alex Kost |
Subject: |
[shepherd] 06/09: Rename default system configuration file. |
Date: |
Tue, 26 Jan 2016 09:40:27 +0000 |
alezost pushed a commit to branch master
in repository shepherd.
commit c6985023f5445abf9d73a2687bacace8269f4bea
Author: Alex Kost <address@hidden>
Date: Mon Jan 25 12:52:51 2016 +0300
Rename default system configuration file.
* modules/shepherd/support.scm (default-config-file): Rename
"dmdconf.scm" to "shepherd.conf.scm".
* shepherd.texi (Jump Start): Likewise.
---
modules/shepherd/support.scm | 2 +-
shepherd.texi | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/shepherd/support.scm b/modules/shepherd/support.scm
index 10d356a..ec23e2f 100644
--- a/modules/shepherd/support.scm
+++ b/modules/shepherd/support.scm
@@ -280,7 +280,7 @@ TARGET should be a string representing a filepath + name."
global system configuration file when running as 'root'. As a side effect,
create a template configuration file if non exists."
(if (zero? (getuid))
- (string-append %sysconfdir "/dmdconf.scm")
+ (string-append %sysconfdir "/shepherd.conf.scm")
(let ((config-file (string-append %user-config-dir "/init.scm")))
(mkdir-p %user-config-dir #o700)
(if (not (file-exists? config-file))
diff --git a/shepherd.texi b/shepherd.texi
index 37aafbe..a7f6ce0 100644
--- a/shepherd.texi
+++ b/shepherd.texi
@@ -141,7 +141,7 @@ mentioned below.
@cindex Configuration file
When @command{shepherd} gets started, it reads and evaluates a
configuration file. When it is started with superuser priviledges, it
-tries to use @code{/etc/dmdconf.scm}. When started as normal user, it
+tries to use @code{/etc/shepherd.conf.scm}. When started as normal user, it
looks for a file called @code{$XDG_CONFIG_HOME/shepherd/init.scm}. If
the @code{XDG_CONFIG_HOME} environment variable is not defined,
@code{$HOME/.config/shepherd/init.scm} is used instead. With the option
@@ -150,8 +150,8 @@ look instead. So if you want to start @command{shepherd}
with an
alternative file, use one of the following commands:
@example
-shepherd --config=/etc/dmdconf.scm.old
-shepherd -c /etc/dmdconf.scm.old
+shepherd --config=/etc/shepherd.conf.scm.old
+shepherd -c /etc/shepherd.conf.scm.old
@end example
@cindex Starting a service
- [shepherd] branch master updated (812b2a0 -> cf8a3c2), Alex Kost, 2016/01/26
- [shepherd] 02/09: tests: misbehaved-client: Rename 'dmd' to 'root'., Alex Kost, 2016/01/26
- [shepherd] 06/09: Rename default system configuration file.,
Alex Kost <=
- [shepherd] 03/09: tests: Rename 'dmd_pid' to 'shepherd_pid'., Alex Kost, 2016/01/26
- [shepherd] 07/09: support: Rename state file., Alex Kost, 2016/01/26
- [shepherd] 01/09: service: Improve 'service-list'., Alex Kost, 2016/01/26
- [shepherd] 08/09: Replace "dmd" with "shepherd" in comments and strings., Alex Kost, 2016/01/26
- [shepherd] 09/09: Remove utils., Alex Kost, 2016/01/26
- [shepherd] 04/09: ChangeLog: Rename git repository., Alex Kost, 2016/01/26
- [shepherd] 05/09: support: Rename 'make-dmd-user-module' to 'make-user-module'., Alex Kost, 2016/01/26