* Standardize all install methods to use /usr/bin rather than some of them using /usr/local/bin * Make the init script executable in install-openrc
17 lines
339 B
Desktop File
17 lines
339 B
Desktop File
[unit]
|
|
Description=PostgreSQL Monitoring Bridge
|
|
PartOf=pgmon.service
|
|
Before=pgmon.service
|
|
After=network.target
|
|
|
|
[Service]
|
|
EnvironmentFile=/etc/pgmon/%i-service.conf
|
|
User=${SERVICE_USER:-postgres}
|
|
ExecStart=/usr/bin/pgmon -c /etc/pgmon/%i.yml
|
|
ExecReload=kill -HUP $MAINPID
|
|
Restart=on-failure
|
|
Type=exec
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|