Systemd persistent change to service file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi All,

I had my database fall over earlier, Initially I thought it was due to a
change in the OS but the postgresql update overwrote my systemd service
file.

How can I create a file for my postgresql service that will not be
overwritten when updates are applied?

Am I correct in thinking it will be something like

vi /etc/systemd/system/postgresql.service.d/postgresql-limit-stack.conf
#with the contents:
.include /etc/systemd/system/multi-user.target.wants/postgresql.service
[Service]
LimitSTACK=17825792


thanks

Michael
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux