debian/osmo-stp.service
raw| 1 | [Unit] |
| 2 | Description=Osmocom STP (Signal Transfer Point) |
| 3 | Documentation=https://osmocom.org/projects/osmo-stp/wiki |
| 4 | After=network-online.target |
| 5 | Wants=network-online.target |
| 6 | |
| 7 | [Service] |
| 8 | Type=simple |
| 9 | Restart=always |
| 10 | StateDirectory=osmocom |
| 11 | WorkingDirectory=%S/osmocom |
| 12 | User=osmocom |
| 13 | Group=osmocom |
| 14 | ExecStart=/usr/bin/osmo-stp -c /etc/osmocom/osmo-stp.cfg |
| 15 | RestartSec=2 |
| 16 | PrivateTmp=true |
| 17 | ProtectHome=read-only |
| 18 | |
| 19 | [Install] |
| 20 | WantedBy=multi-user.target |