A help file is not necessary.

Tealk 2025-03-25 20:52:03 +01:00
parent a479f42fda
commit 2b8d1618cd

@ -32,24 +32,9 @@ services:
# Create a systemd-service for Zoraxy # Create a systemd-service for Zoraxy
Create start.sh in the zoraxy folder with:
`nano start.sh`
Put in those lines
```
#!/bin/bash
./zoraxy -port=:8000
```
If you want faster GeoIP-Lookup, you can add `-fastgeoip=true` after `-port=:8000`. Zoraxy will then use more RAM. If you want faster GeoIP-Lookup, you can add `-fastgeoip=true` after `-port=:8000`. Zoraxy will then use more RAM.
[See v2.6.6 Release](https://github.com/tobychui/zoraxy/releases/tag/2.6.6) [See v2.6.6 Release](https://github.com/tobychui/zoraxy/releases/tag/2.6.6)
Make it executable with
`chmod +x start.sh`
Create systemd-service file with Create systemd-service file with
`sudo nano /etc/systemd/system/zoraxy.service` `sudo nano /etc/systemd/system/zoraxy.service`
@ -57,23 +42,20 @@ Create systemd-service file with
Put in following lines: Put in following lines:
``` ```
GNU nano 7.2 /etc/systemd/system/zoraxy.service
[Unit] [Unit]
Description=Zoraxy Reverse Proxy Server Description=Zoraxy Service
#Waits for network to be online After=network.target
After=network-online.target
Wants=network-online.target
[Service] [Service]
Type=simple Type=simple
#No sudo required in start.sh User=root
User=root
Group=root Group=root
#Folder where zoraxy is located WorkingDirectory=/opt/zoraxy/src
WorkingDirectory=/zoraxy ExecStart=/opt/zoraxy/src/zoraxy -port=:8000
#absolute path for start.sh Restart=always
ExecStart=/bin/bash /zoraxy/start.sh
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target