Napada ma specifikovat adresar kde budu namountovane data, napriklad /mnt/pgsqldata, v postgresql systemd service. Nasledne tam ten disk namountovat.
Teda vytvorit subor /etc/systemd/system/postgresql.service s obsahom:
Teda vytvorit subor /etc/systemd/system/postgresql.service s obsahom:
Kód [Vybrat]
# Include the default config:
.include /lib/systemd/system/postgresql.service
[Service]
Environment=PGDATA=/mnt/pgsqldata