aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL26
1 files changed, 13 insertions, 13 deletions
diff --git a/INSTALL b/INSTALL
index 1944228..e37c806 100644
--- a/INSTALL
+++ b/INSTALL
@@ -122,10 +122,10 @@ To troubleshoot, see PostgreSQL logs.
5. Create Database Schema and Load Repositories
$ mkdir config
-$ edit config/brep-loader.conf # Loader configuration, see brep-loader(1).
+$ edit config/brep-load.conf # Loader configuration, see brep-load(1).
-$ psql --quiet -f install/share/brep/package.sql
-$ install/bin/brep-loader config/brep-loader.conf
+$ install/bin/brep-migrate
+$ install/bin/brep-load config/brep-load.conf
To verify:
@@ -226,21 +226,21 @@ since we want the loader to run even when we are not logged in:
$ sudo loginctl enable-linger brep
$ mkdir -p .config/systemd/user
-$ cp install/share/brep/etc/systemd/brep-loader.* .config/systemd/user/
+$ cp install/share/brep/etc/systemd/brep-load.* .config/systemd/user/
Start the service to make sure there are no issues:
-$ systemctl --user start brep-loader.service
+$ systemctl --user start brep-load.service
$ journalctl
Start the timer and monitor it to make sure it fires:
-$ systemctl --user start brep-loader.timer
+$ systemctl --user start brep-load.timer
$ journalctl -f
If everything looks good, enable the timer to be started at boot time:
-$ systemctl --user enable brep-loader.timer
+$ systemctl --user enable brep-load.timer
8. Upgrade Procedure
@@ -262,8 +262,8 @@ $ bpkg -d brep build brep
Stop and disable loader:
-$ systemctl --user disable --now brep-loader.timer
-$ systemctl --user stop brep-loader.service
+$ systemctl --user disable --now brep-load.timer
+$ systemctl --user stop brep-load.service
Stop apache:
@@ -280,16 +280,16 @@ $ diff -u install/share/brep/etc/brep-module.conf config/brep-module.conf
Update database schema:
-$ psql --quiet -f install/share/brep/package.sql
+$ install/bin/brep-migrate
Start and enable loader:
-$ systemctl --user start brep-loader.service
-$ systemctl --user status brep-loader.service
+$ systemctl --user start brep-load.service
+$ systemctl --user status brep-load.service
If everything looks good, enable periodic execution:
-$ systemctl --user enable --now brep-loader.timer
+$ systemctl --user enable --now brep-load.timer
Start apache: