Reynir Björnsson
910c842448
* Update README: Names of binaries have changed, CLI interface as well, add instructions for installing tenders... * Install an empty log * Add assertion in albatross_log.service that the log file exists
16 lines
526 B
Bash
Executable file
16 lines
526 B
Bash
Executable file
#!/bin/sh
|
|
ALBATROSS_USER=albatross
|
|
|
|
sudo mkdir -m 0700 -p /var/lib/albatross/block
|
|
sudo install -o "$ALBATROSS_USER" -- /dev/null /var/lib/albatross/albatross.log
|
|
|
|
sudo cp ../../_build/install/default/bin/* /usr/local/sbin/
|
|
sudo cp ./albatross_*.service /etc/systemd/system/
|
|
sudo systemctl daemon-reload
|
|
sudo systemctl stop albatross_console
|
|
sudo systemctl start albatross_console
|
|
sudo systemctl stop albatross_log
|
|
sudo systemctl start albatross_log
|
|
sudo systemctl stop albatross_daemon
|
|
sudo systemctl start albatross_daemon
|