commit 05c86e3

uint  ·  2026-04-29 11:55:01 +0000 UTC
parent 2e1a662
update Makefile, README for rcctl start script
2 files changed,  +19, -4
+5, -1
 1@@ -49,6 +49,9 @@ install-conf:
 2 	cp parados.conf $(DESTDIR)$(ETCDIR)/parados.conf
 3 	chmod 644 $(DESTDIR)$(ETCDIR)/parados.conf
 4 
 5+install-rcctl:
 6+	install -m 0555 scripts/openbsd-parados.sh /etc/rc.d/parados
 7+
 8 uninstall:
 9 	rm -f $(DESTDIR)$(BINDIR)/$(OUT)
10 	rm -f $(DESTDIR)$(MAN1DIR)/parados.1
11@@ -59,4 +62,5 @@ compile_flags:
12 	rm -f compile_flags.txt
13 	for f in ${CPPFLAGS} ${CFLAGS}; do echo $$f >> compile_flags.txt; done
14 
15-.PHONY: all release debug clean install install-conf uninstall compile_flags
16+.PHONY: all release debug clean install install-conf install-rcctl uninstall compile_flags
17+
+14, -3
 1@@ -5,12 +5,23 @@ A simple home media server for UNIX systems.
 2 
 3 ### Build
 4 ```sh
 5-make build # or debug
 6-cp parados.conf /etc/
 7-# ./parados -v
 8+make release # or debug
 9+make install-conf
10+./parados -v
11 ./parados
12 ```
13 
14+### Startup Scripts
15+Parados has platform specific init scripts to launch it. As
16+of now, there is: OpenBSD(rcctl)  
17+startup scripts.  
18+
19+```sh
20+make install-rcctl # Change to init platform script
21+```
22+> If you want to contribute more init scripts, feel free to
23+> do so; any help appreciated!
24+
25 ### Documentation
26 All documentation can be found in [docs/](docs/)
27 ```sh