Re: Systemd persistent change to service file

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



On 02/17/2016 08:50 AM, Michael H wrote:
How can I create a file for my postgresql service that will not be
overwritten when updates are applied?

Use "systemctl edit <unit>" to edit a drop-in snippet.

This will create a file in /etc/systemd/system/<unit>.d/ that overrides settings in the unit file packaged in the rpm. You only need to specify the settings which you wish to override.

See man pages for systemctl, systemd.unit, and systemd-delta for more information.
_______________________________________________
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