summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--litterbox.144
-rw-r--r--rc.d/litterbox.in20
2 files changed, 20 insertions, 44 deletions
diff --git a/litterbox.1 b/litterbox.1
index bb57d24..b66d609 100644
--- a/litterbox.1
+++ b/litterbox.1
@@ -227,50 +227,6 @@ Log in with the server password
 .Ar pass .
 .El
 .
-.Ss Service Configuration
-On
-.Fx ,
-add the following to
-.Pa /etc/rc.conf
-to enable the
-.Nm
-daemon:
-.Bd -literal -offset indent
-litterbox_enable="YES"
-.Ed
-.
-.Pp
-To use the database and configuration files of a user,
-add the following:
-.Bd -literal -offset indent
-litterbox_user="user"
-litterbox_env="HOME=/home/user"
-.Ed
-.
-.Pp
-The
-.Nm
-service supports profiles
-for running multiple instances.
-Set
-.Va litterbox_profiles
-to a space-separated list of names.
-Flags for each profile will be set from
-.Va litterbox_${profile}_flags .
-For example:
-.Bd -literal -offset indent
-litterbox_profiles="example1 example2"
-litterbox_example1_flags="example1.conf"
-litterbox_example2_flags="example2.conf"
-.Ed
-.
-.Pp
-The commands
-.Cm start , stop ,
-etc.\&
-will operate on the profile given as an additional argument,
-or on all profiles without an additional argument.
-.
 .Sh FILES
 .Bl -tag -width Ds
 .It Pa $XDG_CONFIG_DIRS/litterbox
diff --git a/rc.d/litterbox.in b/rc.d/litterbox.in
index cc48092..b0a3067 100644
--- a/rc.d/litterbox.in
+++ b/rc.d/litterbox.in
@@ -4,6 +4,26 @@
 # REQUIRE: LOGIN
 # KEYWORD: shutdown
 
+# Add the following to /etc/rc.conf to enable litterbox running as a
+# user:
+#
+#     litterbox_enable="YES"
+#     litterbox_user="user"
+#     litterbox_env="HOME=/home/user"
+#
+# The litterbox service supports profiles for running multiple
+# instances. Set litterbox_profiles to a space-separated list of names.
+# Flags for each profile will be set from litterbox_${profile}_flags.
+# For example:
+#
+#     litterbox_profiles="example1 example2"
+#     litterbox_example1_flags="example1.conf"
+#     litterbox_example2_flags="example2.conf"
+#
+# The commands start, stop, etc. will operating on the profile given as
+# an additional argument, or on all profiles without an additional
+# argument.
+
 . /etc/rc.subr
 
 name='litterbox'
iff arg to cgit_commit_link()John Keeping 2014-08-07git: update to v2.0.4John Keeping 2014-08-07Always check if README exists in choose_readme()Lukas Fleischer 2014-08-01cgitrc.5: we mean a cgi response, not requestJason A. Donenfeld 2014-07-28ui-stats.c: set parent pointer to NULL after freeing itJohn Keeping 2014-07-28git: update to v2.0.3John Keeping 2014-07-28parsing.c: make commit buffer constJohn Keeping 2014-06-30Bump version.Jason A. Donenfeld 2014-06-29remove debug fprinf() calls that sneaked in with commit 79c985Christian Hesse 2014-06-28git: update to 2.0.1Christian Hesse 2014-06-28ui-patch: Flush stdout after outputting dataJohn Keeping 2014-06-28ui-log: ignore unhandled argumentsJohn Keeping 2014-06-28git: update for git 2.0Christian Hesse 2014-04-17remove trailing whitespaces from source filesChristian Hesse 2014-04-12git: update to 1.9.2Christian Hesse 2014-04-05Fix cgit_parse_url when a repo url is contained in another repo urlJulian Maurice 2014-03-20Makefile: use more reliable git tarball mirrorJason A. Donenfeld 2014-03-20git: update to 1.9.1Christian Hesse