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.

52 lines
1.8 KiB

8 months ago
# Configuration and Management
8 months ago
I have localized all of the configuration files in **/usr/local/etc**:
8 months ago
**dashboard.ini** - configuration for the dashboard (with some values also take from dstargateway.cfg)<br/>
**dgwremotecontrol.cfg** - configure remote control port and password<br/>
**dgwtimeserver.cfg** - this controls time announcements and other parameters<br/>
8 months ago
**dstargateway.cfg** - configure the gateway itself<br/>
The program **systemctl** is how your manage these services (as root using sudo) there are five functions which you will typically control
8 months ago
**enable** - turning on automatic startup when you reboot the system<br/>
**status** - tells you the current status of the service<br/>
**start** - start up a service that is currently inactive<br/>
**stop** - stop an active service<br/>
**restart** - issues a stop followed by a start<br/>
**disable** - turning off automatic startup when reboot<br/>
for example:
8 months ago
8 months ago
**sudo systemctl status dsgwdashboard<br/>
8 months ago
sudo systemctl enable dsgwdashboard<br/>
sudo systemctl start dsgwdashboard<br/>
sudo systemctl stop dsgwdashboard<br/>
sudo systemctl restart dsgwdashboard<br/>
sudo systemctl disable dsgwdashboard<br/>
<br/>
sudo systemctl status dgwtimeserver<br/>
sudo systemctl enable dgwtimeserver<br/>
sudo systemctl start dgwtimeserver<br/>
sudo systemctl stop dgwtimeserver<br/>
sudo systemctl restart dgwtimeserver<br/>
8 months ago
sudo systemctl disable dgwtimeserver**
and so forth.
8 months ago
To view the systemctl manual - type<br/>
**man systemctl**
8 months ago
Also spend some time with [DStarGateway README](https://github.com/F4FXL/DStarGateway/blob/develop/README.md) (and the README.md in each subdirectory)
8 months ago
# Firewall
8 months ago
If using [ufw](https://wiki.ubuntu.com/UncomplicatedFirewall), [dstar](dstar) rules are aavailable.
```
cd util
sudo cp dstar /etc/ufw/applications.d
sudo ufw reload
sudo ufw status verbose
```