mirror of https://github.com/midoks/mdserver-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
562 B
17 lines
562 B
# 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={$SERVER_PATH}/pgadmin/run/bin/gunicorn --bind unix:/tmp/pgadmin4.sock --workers=1 --threads=25 --chdir {$SERVER_PATH}/pgadmin/run/lib/{$PY_VER}/site-packages/pgadmin4 pgAdmin4:app
|
|
ExecReload=/bin/kill -USR2 $MAINPID
|
|
PrivateTmp=false
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|