Harald Welte | 23198c4 | 2021-11-03 12:48:58 +0100 | [diff] [blame] | 1 | [Unit] |
2 | Description=Osmocom SIM REST server | ||||
3 | |||||
4 | [Service] | ||||
5 | Type=simple | ||||
6 | # we listen to 0.0.0.0, allowing remote, unauthenticated clients to connect from everywhere! | ||||
7 | ExecStart=/usr/local/src/pysim/contrib/sim-rest-server.py -H 0.0.0.0 | ||||
8 | Restart=always | ||||
9 | RestartSec=2 | ||||
10 | # this user must be created beforehand; it must have PC/SC access | ||||
11 | User=rest | ||||
12 | |||||
13 | [Install] | ||||
14 | WantedBy=multi-user.target |