Compare commits

..

No commits in common. 'd50a691252d550ab085bec212fb5ca069a9c8db3' and '52cff1474ea6e6865debf1420a847416ee6ca263' have entirely different histories.

  1. 38
      README.md
  2. 13
      fetapd.service

38
README.md

@ -1,6 +1,7 @@
# fetapi - FeTAp with a Raspberry Pi # fetapi - FeTAp with a Raspberry Pi
``` ```
,ooFeTApFeTApFeTA%=+-,. ,ooFeTApFeTApFeTA%=+-,.
,+FeTAp+' `o,, ,+FeTAp+' `o,,
,oFeTAp+ `, ,oFeTAp+ `,
@ -22,33 +23,12 @@
o:N H:a e, G o:N H:a e, G
t:a s:c c, ,x+x+' t:a s:c c, ,x+x+'
k:T:@:U:M:R:n; h, ,p+e+r+a+t/ k:T:@:U:M:R:n; h, ,p+e+r+a+t/
`@:n:M:E:' `T=i=s=c=h=A=p/ `@:n:M:E:'
``` ```
## Installation ## Installation
Some of the following instructions must be executed with `root` privileges.
### Installing `fetapd`
1. Clone this repository (together with `pylinphone` as sub-module)
```
cd /opt
git clone https://git.blinkenbunt.org/LUG-Saar/fetapi.git
git submodule update
```
2. Configure and enable `fetapd` as `systemd` service
```
ln -sr fetapd.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable fetapd
```
### Installing `linphone-cli` on Raspbian ### Installing `linphone-cli` on Raspbian
1. Install `debootstrap` 1. Install `debootstrap`
@ -96,17 +76,5 @@ Some of the following instructions must be executed with `root` privileges.
ln -sr linphone-daemon.service /etc/systemd/system ln -sr linphone-daemon.service /etc/systemd/system
systemctl daemon-reload systemctl daemon-reload
systemctl enable linphone-daemon systemctl enable linphone-daemon
systemctl start linphone-daemon
``` ```
## Configuring `fetapd`
:warning: TODO
## Starting `fetapd`
```
systemctl start fetapd
```
(or simply reboot your *FeTAp*)

13
fetapd.service

@ -1,13 +0,0 @@
[Unit]
Description=FeTAp Daemon
Requires=linphone-daemon.service
After=linphone-daemon.service
[Service]
Type=simple
ExecStart=/usr/bin/python3 /opt/fetapi/fetapd.py
User=pi
Restart=on-failure
[Install]
WantedBy=multi-user.target
Loading…
Cancel
Save