Обсуждение:EnterpriseApps/Greenplum

Материал из ALT Linux Wiki
Версия от 13:24, 8 декабря 2023; Petr-akhlamov (обсуждение | вклад)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
[Unit]
Description=Greenplume as a Service
After=multi-user.target

[Service]
User=petr
Type=simple
ExecReload=/bin/kill -HUP $MAINPID
KillMode=mixed
KillSignal=SINGTERM
TimeoutStopSec=10
ExecStart=bash -c "pg_ctl -D /home/ladmin/primary/gpsne0 -l logfile start"
ExecStop=bash -c "pg_ctl -D /home/ladmin/primary/gpsne0 -l logfile stop"

[Install]
WantedBy=multi-user.target
Alias=greenplum.service