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
519 B
17 lines
519 B
8 months ago
|
# 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
|