smeserver-postgresql/root/usr/lib/systemd/system/pgsql.init.service

21 lines
419 B
SYSTEMD
Raw Normal View History

[Unit]
SourcePath=/etc/rc.d/init.d/pgsql.init
Description=Koozali SME Server pgsql DB injector for postgresql-13
After=postgresql-13.service
Requires=postgresql-13.service
[Service]
Type=oneshot
Restart=no
TimeoutSec=10min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
ExecStart=/etc/rc.d/init.d/pgsql.init start
ExecStop=/etc/rc.d/init.d/pgsql.init stop
[Install]
WantedBy=sme-server.target