More work on getting packaging working
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
[unit]
|
||||
Description=PostgreSQL Monitoring Bridge
|
||||
#PartOf=pgmon.service
|
||||
#Before=pgmon.service
|
||||
PartOf=pgmon.service
|
||||
Before=pgmon.service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/pgmon.py /etc/pgmon/%i.cfg
|
||||
ExecStart=/usr/local/bin/pgmon /etc/pgmon/%i.yml
|
||||
ExecReload=kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
Type=exec
|
||||
|
||||
Reference in New Issue
Block a user