Changes

From SME Server
Jump to navigationJump to search
159 bytes added ,  00:40, 9 November 2021
Line 152: Line 152:     
Set a config key
 
Set a config key
  config set postgresqld service status enabled access private
+
  config set postgresql-12 service status enabled access private
   −
We will need a file
+
We will need a file:
   −
  mkdir -p /usr/lib/systemd/system/postgresqld.service.d
+
  mkdir -p /usr/lib/systemd/system/postgresql-12.service.d
   −
  nano /usr/lib/systemd/system/postgresqld.service.d/50koozali.conf
+
  nano /usr/lib/systemd/system/postgresql-12.service.d/50koozali.conf
    
Something like:
 
Something like:
Line 167: Line 167:  
  WantedBy=sme-server.target
 
  WantedBy=sme-server.target
    +
Reconfigure and reboot:
 +
 +
signal-event post-upgrade;signal-event reboot
 +
 +
Then hopefully we can see a running service:
 +
 +
systemctl status postgresql-12
     

Navigation menu