21 lines
419 B
SYSTEMD
21 lines
419 B
SYSTEMD
|
[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
|
||
|
|