added section on file editing

This commit is contained in:
Natan Keddem
2024-03-28 20:06:32 -04:00
parent 458cf05780
commit 2813cf050e

View File

@@ -104,27 +104,36 @@
deactivate deactivate
``` ```
8. Change paths in `resources/bale.service` if needed then copy to service directory and activate. 8. Edit `resources/bale.service` with the actual path you are utilizing on your system.
```bash
nano resources/bale.service
```
9. Change paths in `resources/bale.service` if needed then copy to service directory and activate.
```bash ```bash
sudo cp resources/bale.service /etc/systemd/system sudo cp resources/bale.service /etc/systemd/system
sudo systemctl enable bale.service sudo systemctl enable bale.service
``` ```
10. Start the service and check status.
9. Start the service and check status. ```bash
sudo systemctl start bale.service
sudo systemctl status bale.service
```
```bash #### Troubleshooting
sudo systemctl start bale.service If you get an error like this: `bale.service: Failed to locate executable /root/bale/venv/bin/python: No such file or directory`, modify the path in your `/etc/systemd/system/bale.service` file.
sudo systemctl status bale.service ```bash
``` sudo nano /etc/systemd/system/bale.service
```
Troubleshooting: If you get an error like this: `bale.service: Failed to locate executable /root/bale/venv/bin/python: No such file or directory`, edit your paths to the correct ones in the `/etc/systemd/system/bale.service` file then reload and restart. ```bash
sudo systemctl daemon-reload
```bash sudo systemctl start bale.service
sudo systemctl daemon-reload sudo systemctl status bale.service
sudo systemctl start bale.service ```
sudo systemctl status bale.service
```
### Access GUI ### Access GUI