This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by rounakcodes
Note: This document is a quick note, not a complete guide
Source: https://rethinkdb.com/docs/start-on-startup/
Some of the requirements in the Startup with systemd section were already present by default in Arch Linux.
All the commands required to be executed were:
sudo systemctl start rethinkdb@default
# gives hints regarding errors
systemctl status rethinkdb@default.service
# this path was found from the above error message
sudo rethinkdb create -d /var/lib/rethinkdb/default
sudo systemctl start rethinkdb@default
# gives hints regarding further errors
systemctl status rethinkdb@default.service
sudo chown -R rethinkdb:rethinkdb /var/lib/rethinkdb/default
sudo systemctl start rethinkdb@default
# check if everything is fine
systemctl status rethinkdb@default.service
systemctl enable rethinkdb@default.service
This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by rounakcodes

rounakcodes | Sciencx (2022-12-25T03:54:31+00:00) Start rethinkdb on startup in Arch Linux. Retrieved from https://www.scien.cx/2022/12/25/start-rethinkdb-on-startup-in-arch-linux/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.