Simplify the code by switching to http for IPC
This commit is contained in:
@@ -5,12 +5,10 @@ Description=PostgreSQL Monitoring Bridge
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/pgmon.py --server --config /etc/pgmon/%i.cfg
|
||||
ExecReload=/user/local/bin/pgmon.py --reload --config /etc/pgmon/%i.cfg
|
||||
RuntimeDirectory=pgmon
|
||||
RuntimeDirectoryMode=0755
|
||||
PIDFile=/run/pgmon/%i.pid
|
||||
ExecStart=/usr/local/bin/pgmon.py /etc/pgmon/%i.cfg
|
||||
ExecReload=kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
Type=exec
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user