2024-09-11 12:53:41 +00:00
|
|
|
# Installing on Linux
|
|
|
|
|
|
|
|
## Building
|
|
|
|
```sh
|
|
|
|
cd byedpi/
|
|
|
|
make
|
|
|
|
sudo make install
|
|
|
|
```
|
|
|
|
|
|
|
|
## Systemd Service (optional)
|
|
|
|
|
2024-09-24 11:05:52 +00:00
|
|
|
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 12:53:41 +00:00
|
|
|
|
|
|
|
```sh
|
|
|
|
cp byedpi.service ~/.config/systemd/user/
|
2024-09-24 11:05:52 +00:00
|
|
|
cp byedpi.conf ~/.config/
|
|
|
|
systemctl --user enable --now byedpi.service
|
2024-09-11 12:53:41 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
You should see the service now marked as "active":
|
|
|
|
```sh
|
|
|
|
systemctl --user status byedpi.service
|
|
|
|
```
|
2024-09-24 11:05:52 +00:00
|
|
|
|
|
|
|
### 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
|
|
|
|
```
|