Hello i am trying to installl postgresql on artix runit. I have some issues because i cant go further.
I did:
sudo pacman -Syu
then
sudo pacman -S postgresql
and
sudo pacman -S postgresql-runit
Now i am doing:
ln -s /etc/sv/postgresql /var/postgresql/
But then nothing happens. How can i go further ?
Thanks in advance...
It could be postgresql needs to run some commands before starting daemon first time (like initialize database on disk)
It doesn't get linked to /var/postgresql but /var/service
ln -sf /etc/sv/postgresql /var/service
Since you linked it to /var/postgresql may need to remove that dir and reinstall postgresql
Should the link to activate the service not be:
ln -s /etc/runit/sv/postgresql /run/runit/service
I think Void linux uses /etc/sv and /var/serivce, but Artix uses /etc/runit/sv and /run/runit/service
yes, for Artix ln -s /etc/runit/sv/postgresql /run/runit/service is the correct procedure