debian: Use osmo-sip-connector.service from contrib
Use a symlink to avoid duplicating content. Remove nonsense Wants= line on itself. Change-Id: I556a91e012692c4073b4b832bccce0c850f684f8changes/07/10807/1
parent
cddf0d175e
commit
3233e0d9df
|
@ -1,6 +1,5 @@
|
|||
[Unit]
|
||||
Description=Osmo SIP Connector
|
||||
Wants=osmo-sip-connector.service
|
||||
|
||||
[Service]
|
||||
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