fix: service working path
This commit is contained in:
@@ -4,11 +4,11 @@ Comunicación VoIP entre dos raspberrys. La versión actual utiliza Mumble para
|
|||||||
|
|
||||||
## How to
|
## How to
|
||||||
|
|
||||||
1. Clonar este repositorio.
|
1. Clonar este repositorio en la home.
|
||||||
2. Crear el symlink `intercom.yml` al archivo correspondiente.
|
2. Crear el symlink `intercom.yml` al archivo correspondiente.
|
||||||
3. Activar el servicio intercom:
|
3. Activar el servicio intercom:
|
||||||
```
|
```
|
||||||
sudo cp intercom.service /etc/systemd/system
|
sudo cp intercom.service /etc/systemd/system
|
||||||
sudo chown root:root /etc/systemd/system/intercom.service
|
|
||||||
sudo systemctl enable intercom
|
sudo systemctl enable intercom
|
||||||
|
sudo service intercom start
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/python3 -u intercom.py
|
ExecStart=/usr/bin/python3 -u intercom.py
|
||||||
WorkingDirectory=/home/pi
|
WorkingDirectory=/home/pi/intercom
|
||||||
StandardOutput=inherit
|
StandardOutput=inherit
|
||||||
StandardError=inherit
|
StandardError=inherit
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|||||||
Reference in New Issue
Block a user