Commit e485d3b9 authored by Jo Cook's avatar Jo Cook

Added license header to postgresql batch files

parent f2c5127e
@echo off
REM
REM PORTABLE GIS: GIS ON A USB STICK
REM
REM IMPORTANT NOTE:
REM
REM Portable GIS is distributed under the GNU General Public License
REM version 3, but this relates only to the files required to create
REM Portable GIS from the constituent programs, namely the installer
REM scripts, menu source, and batch files. It is subordinate to the
REM License Agreements of the constituent software packages. These may
REM be more or less restrictive than the GNU GPL. Please ensure that
REM you are familiar with the acceptance and usage terms of all the
REM constituent licenses before using this software- these can be found
REM in the folders for the constituent programs.
REM
REM Copyright (C) 2017 Jo Cook (jo.k.cook@gmail.com/usb@portablegis.xyz)
REM
REM
REM This program is free software: you can redistribute it and/or modify
REM it under the terms of the GNU General Public License as published by
REM the Free Software Foundation, either version 3 of the License, or
REM (at your option) any later version.
REM
REM This program is distributed in the hope that it will be useful,
REM but WITHOUT ANY WARRANTY; without even the implied warranty of
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
REM GNU General Public License for more details.
REM
REM You should have received a copy of the GNU General Public License
REM along with this program. If not, see <http://www.gnu.org/licenses/>
REM
REM ********************************************************************
REM
REM Batch file for cleaning restarting postgresql daemon
REM
TITLE Restarting PostgreSQL
set DRIVE_LTR=%~d0
%DRIVE_LTR%\usbgis\apps\postgresql93\bin\pg_ctl -D %DRIVE_LTR%\usbgis\apps\postgresql93\PGDATA -l %DRIVE_LTR%\usbgis\data\pg93_log\postgresql.log restart
@echo off
REM
REM PORTABLE GIS: GIS ON A USB STICK
REM
REM IMPORTANT NOTE:
REM
REM Portable GIS is distributed under the GNU General Public License
REM version 3, but this relates only to the files required to create
REM Portable GIS from the constituent programs, namely the installer
REM scripts, menu source, and batch files. It is subordinate to the
REM License Agreements of the constituent software packages. These may
REM be more or less restrictive than the GNU GPL. Please ensure that
REM you are familiar with the acceptance and usage terms of all the
REM constituent licenses before using this software- these can be found
REM in the folders for the constituent programs.
REM
REM Copyright (C) 2017 Jo Cook (jo.k.cook@gmail.com/usb@portablegis.xyz)
REM
REM
REM This program is free software: you can redistribute it and/or modify
REM it under the terms of the GNU General Public License as published by
REM the Free Software Foundation, either version 3 of the License, or
REM (at your option) any later version.
REM
REM This program is distributed in the hope that it will be useful,
REM but WITHOUT ANY WARRANTY; without even the implied warranty of
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
REM GNU General Public License for more details.
REM
REM You should have received a copy of the GNU General Public License
REM along with this program. If not, see <http://www.gnu.org/licenses/>
REM
REM ********************************************************************
REM
REM Batch file for cleanly starting pgadmin3 with correct environment
REM variables
REM
TITLE Starting PgAdmin3
echo Please close this command window only if you wish to close PgAdmin3
echo PgAdmin3 is starting...
......
@echo off
REM
REM PORTABLE GIS: GIS ON A USB STICK
REM
REM IMPORTANT NOTE:
REM
REM Portable GIS is distributed under the GNU General Public License
REM version 3, but this relates only to the files required to create
REM Portable GIS from the constituent programs, namely the installer
REM scripts, menu source, and batch files. It is subordinate to the
REM License Agreements of the constituent software packages. These may
REM be more or less restrictive than the GNU GPL. Please ensure that
REM you are familiar with the acceptance and usage terms of all the
REM constituent licenses before using this software- these can be found
REM in the folders for the constituent programs.
REM
REM Copyright (C) 2017 Jo Cook (jo.k.cook@gmail.com/usb@portablegis.xyz)
REM
REM
REM This program is free software: you can redistribute it and/or modify
REM it under the terms of the GNU General Public License as published by
REM the Free Software Foundation, either version 3 of the License, or
REM (at your option) any later version.
REM
REM This program is distributed in the hope that it will be useful,
REM but WITHOUT ANY WARRANTY; without even the implied warranty of
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
REM GNU General Public License for more details.
REM
REM You should have received a copy of the GNU General Public License
REM along with this program. If not, see <http://www.gnu.org/licenses/>
REM
REM ********************************************************************
REM
REM Batch file for cleanly starting postgresql daemon with correct environment
REM variables
REM
TITLE Starting PostgreSQL
echo Please do not close this command window as it will force the database server to shutdown in an unclean fashion
echo Use the Portable GIS control panel to stop PostgreSQL
......
TITLE @echo off
@echo off
REM
REM PORTABLE GIS: GIS ON A USB STICK
REM
REM IMPORTANT NOTE:
REM
REM Portable GIS is distributed under the GNU General Public License
REM version 3, but this relates only to the files required to create
REM Portable GIS from the constituent programs, namely the installer
REM scripts, menu source, and batch files. It is subordinate to the
REM License Agreements of the constituent software packages. These may
REM be more or less restrictive than the GNU GPL. Please ensure that
REM you are familiar with the acceptance and usage terms of all the
REM constituent licenses before using this software- these can be found
REM in the folders for the constituent programs.
REM
REM Copyright (C) 2017 Jo Cook (jo.k.cook@gmail.com/usb@portablegis.xyz)
REM
REM
REM This program is free software: you can redistribute it and/or modify
REM it under the terms of the GNU General Public License as published by
REM the Free Software Foundation, either version 3 of the License, or
REM (at your option) any later version.
REM
REM This program is distributed in the hope that it will be useful,
REM but WITHOUT ANY WARRANTY; without even the implied warranty of
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
REM GNU General Public License for more details.
REM
REM You should have received a copy of the GNU General Public License
REM along with this program. If not, see <http://www.gnu.org/licenses/>
REM
REM ********************************************************************
REM
REM Batch file for cleanly stopping postgresql daemon with correct environment
REM variables
REM
TITLE Stopping PostgreSQL
set DRIVE_LTR=%~d0
%DRIVE_LTR%\usbgis\apps\postgresql93\bin\pg_ctl -D %DRIVE_LTR%\usbgis\apps\postgresql93\PGDATA stop
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment