postgresql不能随系统启动,每次重启都要运行一遍systemctl start postgresql
运行systemctl enable postgresql.service 提示:
Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable postgresql
请教该如何解决?
运行systemctl enable postgresql.service 提示:
Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable postgresql
请教该如何解决?
百度了一下 貌似以前的debian系也有这方面的问题,askubuntu上有一个类似的问题,https://askubuntu.com/questions/884472/autostart-postgresql-9-6-2-on-16-10
但是给出的回答解决不了问题