Change in osmo-sip-connector[master]: debian: Use osmo-sip-connector.service from contrib

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Sep 6 13:58:41 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/10807 )

Change subject: debian: Use osmo-sip-connector.service from contrib
......................................................................

debian: Use osmo-sip-connector.service from contrib

Use a symlink to avoid duplicating content.
Remove nonsense Wants= line on itself.

Change-Id: I556a91e012692c4073b4b832bccce0c850f684f8
---
M contrib/systemd/osmo-sip-connector.service
D debian/osmo-sip-connector.service
A debian/osmo-sip-connector.service
3 files changed, 1 insertion(+), 12 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/contrib/systemd/osmo-sip-connector.service b/contrib/systemd/osmo-sip-connector.service
index e44ab9b..a08f167 100644
--- a/contrib/systemd/osmo-sip-connector.service
+++ b/contrib/systemd/osmo-sip-connector.service
@@ -1,6 +1,5 @@
 [Unit]
 Description=Osmo SIP Connector
-Wants=osmo-sip-connector.service
 
 [Service]
 Type=simple
diff --git a/debian/osmo-sip-connector.service b/debian/osmo-sip-connector.service
deleted file mode 100644
index 6694a17..0000000
--- a/debian/osmo-sip-connector.service
+++ /dev/null
@@ -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
diff --git a/debian/osmo-sip-connector.service b/debian/osmo-sip-connector.service
new file mode 120000
index 0000000..c0ae1e1
--- /dev/null
+++ b/debian/osmo-sip-connector.service
@@ -0,0 +1 @@
+../contrib/systemd/osmo-sip-connector.service
\ No newline at end of file

-- 
To view, visit https://gerrit.osmocom.org/10807
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sip-connector
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I556a91e012692c4073b4b832bccce0c850f684f8
Gerrit-Change-Number: 10807
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180906/c9942bea/attachment.htm>


More information about the gerrit-log mailing list