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.
16 lines
408 B
16 lines
408 B
[Unit]
|
|
Description=PostgreSQL: a powerful open source database
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
User=postgresql
|
|
Group=postgresql
|
|
WorkingDirectory={$APP_PATH}
|
|
ExecStart={$APP_PATH}/bin/pg_ctl start -D {$APP_PATH}/data
|
|
ExecReload={$APP_PATH}/bin/pg_ctl restart -D {$APP_PATH}/data
|
|
ExecStop={$APP_PATH}/bin/pg_ctl stop -D {$APP_PATH}/data
|
|
PrivateTmp=false
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |