byedpi/dist/linux/README.md

39 lines
700 B
Markdown
Raw Normal View History

2024-09-11 15:53:41 +03:00
# Installing on Linux
## Building
```sh
cd byedpi/
make
sudo make install
```
## Systemd Service (optional)
You can configure the program to run as systemd service, user- or system-wide (only one at a time).
### As user service:
2024-09-11 15:53:41 +03:00
```sh
cp byedpi.service ~/.config/systemd/user/
cp byedpi.conf ~/.config/
systemctl --user enable --now byedpi.service
2024-09-11 15:53:41 +03:00
```
You should see the service now marked as "active":
```sh
systemctl --user status byedpi.service
```
### As system service:
```sh
sudo cp byedpi.service /etc/systemd/system/
sudo cp byedpi.conf /etc/
sudo systemctl enable --now byedpi.service
```
You should see the service now marked as "active":
```sh
systemctl status byedpi.service
```