bin: Rename main binary from plinth to freedombox

- Rename manual page from plinth.1 to freedombox.1

Tests:

- Running 'make build install' and 'systemctl daemon-reload' and 'systemctl
restart plinth.service' works. Installing new app works.

- Spawning a new stable VM with the changes works. First wizard works.
Installing new app works.

- On a fresh Trixie machine, install freedombox. Then upgrade to a deb with
these changes. The service continues to work. Installing an app also works.
Binary is now /usr/bin/freedombox. /usr/bin/plinth works but it is a symlink to
/usr/bin/freedombox.

- Build a Debian package and install it on Trixie machine with freedombox
package installed. 'man plinth' works. 'man freedombox' works. Manual page
contents shows changes from 'plinth' to 'freedombox'. plinth.1.gz is a symlink
to freedombox.1.gz.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2026-08-28 07:40:56 -04:00
1 parent 06595e0a55
commit a39632e9c8
8 files changed
+16 -14

No files matched your search

+2 -2
View File
@@ -13,7 +13,7 @@ SCRIPTS_DIR=scripts
manual-pdfs=$(foreach lang,$(MANUAL_LANGUAGES),manual/$(lang)/freedombox-manual.pdf)
manual-xmls=$(patsubst %.pdf,%.xml,$(manual-pdfs))
OUTPUTS=$(manual-pdfs) plinth.1 freedombox-cmd.1
OUTPUTS=$(manual-pdfs) freedombox.1 freedombox-cmd.1
INSTALL_OPTS=-D --mode=644
@@ -33,7 +33,7 @@ endif
all: $(OUTPUTS) manual-pages
install: all
install $(INSTALL_OPTS) -t $(MAN_INSTALL_DIR)/man1 plinth.1
install $(INSTALL_OPTS) -t $(MAN_INSTALL_DIR)/man1 freedombox.1
for file in $(manual-pages-part-html) $(manual-pdfs); do \
install $(INSTALL_OPTS) -t $(INSTALL_DIR)/$$(dirname $${file}) \
$${file} ; \
+7 -7
View File
@@ -5,22 +5,22 @@
-->
<refentry>
<refmeta>
<refentrytitle><application>plinth</application></refentrytitle>
<refentrytitle><application>freedombox</application></refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="manual">FreedomBox</refmiscinfo>
<refmiscinfo class="version"> </refmiscinfo>
</refmeta>
<refnamediv>
<refname><application>plinth</application></refname>
<refname><application>freedombox</application></refname>
<refpurpose>
a web front end for administering FreedomBox
An inexpensive server at home.
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>plinth</command>
<command>freedombox</command>
<arg><option>-h, </option><option>--help</option></arg>
<arg><option>--server_dir</option><arg choice="req">SERVER_DIR</arg></arg>
<arg><option>--develop</option></arg>
@@ -182,7 +182,7 @@
<example>
<title>Start FreedomBox Service with default options</title>
<synopsis>$ plinth</synopsis>
<synopsis>$ freedombox</synopsis>
<para>
Run FreedomBox Service as guided by configuration file.
</para>
@@ -190,7 +190,7 @@
<example>
<title>Run FreedomBox Service with different URL prefix</title>
<synopsis>$ plinth --server_dir='/myurl'</synopsis>
<synopsis>$ freedombox --server_dir='/myurl'</synopsis>
<para>
Run FreedomBox with the '/myurl' prefix. Note that Apache forwards
requests to '/freedombox' by default, so /myurl is not accessible
@@ -200,7 +200,7 @@
<example>
<title>Run FreedomBox Service in development mode</title>
<synopsis>$ plinth --develop</synopsis>
<synopsis>$ freedombox --develop</synopsis>
<para>
Run in development mode on the terminal. Enable auto-reloading and
more extensive debugging.