Difference between revisions of "/lib/systemd/system/postgresql.service"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
  [Service]
 
  [Service]
 
  [[Type=]]oneshot
 
  [[Type=]]oneshot
  ExecStart=/bin/true
+
  [[ExecStart]]=/bin/true
  ExecReload=/bin/true
+
  [[ExecReload]]=/bin/true
  RemainAfterExit=on
+
  [[RemainAfterExit]]=on
 
   
 
   
 
  [Install]
 
  [Install]

Revision as of 17:03, 6 July 2023

/lib/systemd/system/postgresql.service


# systemd service for managing all PostgreSQL clusters on the system. This
# service is actually a systemd target, but we are using a service since
# targets cannot be reloaded.

[Unit]
Description=PostgreSQL RDBMS 

[Service]
Type=oneshot
ExecStart=/bin/true
ExecReload=/bin/true
RemainAfterExit=on

[Install]
WantedBy=multi-user.target



systemd, .service, /lib/systemd/system/, /etc/systemd/system/, Type=, systemctl list-units --type=service, systemctl daemon-reload, ExecStart, .timer, .mounts, .wants, .socket

Advertising: