Start rethinkdb on startup in Arch Linux

rounakcodes

rounakcodes

Posted on December 25, 2022

Start rethinkdb on startup in Arch Linux

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
Enter fullscreen mode Exit fullscreen mode

System Info

💖 💪 🙅 🚩
rounakcodes
rounakcodes

Posted on December 25, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Start rethinkdb on startup in Arch Linux
archlinux Start rethinkdb on startup in Arch Linux

December 25, 2022