DEV Community

rounakcodes
rounakcodes

Posted on

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

Top comments (0)