howto postgres-s3: update to use the debian package

This commit is contained in:
Nicola Murino
2020-09-26 19:28:56 +02:00
parent 03bf595525
commit 001261433b
2 changed files with 40 additions and 90 deletions

View File

@@ -6,9 +6,11 @@ Run the following instructions from the directory that contains the sftpgo binar
## Linux
The easiest way to run SFTP as a service on Linux is to download and install the pre-compiled deb/rpm package. This section describes the procedure to use if you prefer to build SFTPGo yourself or if you download a pre-built release as tar.
For Linux, a `systemd` sample [service](../init/sftpgo.service "systemd service") can be found inside the source tree.
Here are some basic instructions to run SFTPGo as service using a dedicated `sftpgo` system account, please run the following commands from the directory where you downloaded SFTPGo:
Here are some basic instructions to run SFTPGo as service using a dedicated `sftpgo` system account. Please run the following commands from the directory where you downloaded SFTPGo:
```bash
# create the sftpgo user and group
@@ -134,4 +136,6 @@ After installing as a Windows Service, please remember to allow network access t
PS> netsh advfirewall firewall add rule name="SFTPGo Service" dir=in action=allow program="C:\Program Files\SFTPGo\sftpgo.exe"
```
(Or through the Windows Firewall GUI.)
Or through the Windows Firewall GUI.
The Windows installer will register the service and allow network access for it automatically.