Skip to main content
Question

How does the /opt/vertica/sbin/verticad stop work ?

  • February 22, 2022
  • 0 replies
  • 3 views

Sathya
Forum|alt.badge.img+1
  • Participating Frequently

The below setup

Unit]
Description=Vertica server restart oneshot

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/opt/vertica/sbin/verticad start
ExecStop=/opt/vertica/sbin/verticad stop
SuccessExitStatus=1
TimeoutStopSec=300

[Install]
WantedBy=multi-user.target

Does it stop the DB cleanly or just kills the session during shutdown ?