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

Материал из ALT Linux Wiki
[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