mirror of https://github.com/midoks/mdserver-web
parent
908507f64e
commit
5850d69c10
@ -0,0 +1,16 @@ |
||||
# It's not recommended to modify this file in-place, because it |
||||
# will be overwritten during upgrades. If you want to customize, |
||||
# the best way is to use the "systemctl edit" command. |
||||
# systemctl daemon-reload |
||||
|
||||
[Unit] |
||||
Description=pgadmin service |
||||
After=network.target |
||||
|
||||
[Service] |
||||
ExecStart=gunicorn --bind unix:/tmp/pgadmin4.sock --workers=1 --threads=25 --chdir {$SERVER_PATH}/lib/python3.10/dist-packages/pgadmin4 pgAdmin4:app |
||||
ExecReload=/bin/kill -USR2 $MAINPID |
||||
PrivateTmp=false |
||||
|
||||
[Install] |
||||
WantedBy=multi-user.target |
Loading…
Reference in new issue