mirror of https://gerrit.osmocom.org/pysim
the sim-rest-server is a minimal HTTP/RESTful API for performing UMTS-AKA against a SIM card inserted in a locally reachable PC/SC reader. Let's add s systemd service/unit file for people wanting to run this service from systemd. Change-Id: I84b390af09d33de2c740898ff3d7d5a90a300588changes/87/26087/1
parent
df3d01bedc
commit
23198c4e90
@ -0,0 +1,14 @@ |
||||
[Unit] |
||||
Description=Osmocom SIM REST server |
||||
|
||||
[Service] |
||||
Type=simple |
||||
# we listen to 0.0.0.0, allowing remote, unauthenticated clients to connect from everywhere! |
||||
ExecStart=/usr/local/src/pysim/contrib/sim-rest-server.py -H 0.0.0.0 |
||||
Restart=always |
||||
RestartSec=2 |
||||
# this user must be created beforehand; it must have PC/SC access |
||||
User=rest |
||||
|
||||
[Install] |
||||
WantedBy=multi-user.target |
Loading…
Reference in new issue