debian: Use osmo-sip-connector.service from contrib
Use a symlink to avoid duplicating content. Remove nonsense Wants= line on itself. Change-Id: I556a91e012692c4073b4b832bccce0c850f684f8
This commit is contained in:
parent
cddf0d175e
commit
3233e0d9df
|
@ -1,6 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Osmo SIP Connector
|
Description=Osmo SIP Connector
|
||||||
Wants=osmo-sip-connector.service
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Osmocom osmo-sip-connector
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
ExecStart=/usr/bin/osmo-sip-connector -c /etc/osmocom/osmo-sip-connector.cfg
|
|
||||||
Restart=always
|
|
||||||
RestartSec=2
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -0,0 +1 @@
|
||||||
|
../contrib/systemd/osmo-sip-connector.service
|
Loading…
Reference in New Issue