summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/systemd/osmo-sip-connector.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/systemd/osmo-sip-connector.service b/contrib/systemd/osmo-sip-connector.service
index a08f167..406c48b 100644
--- a/contrib/systemd/osmo-sip-connector.service
+++ b/contrib/systemd/osmo-sip-connector.service
@@ -6,6 +6,7 @@ Type=simple
Restart=always
ExecStart=/usr/bin/osmo-sip-connector -c /etc/osmocom/osmo-sip-connector.cfg
RestartSec=2
+ExecStopPost=/usr/local/bin/save_log_tail osmo-sip-connector
[Install]
WantedBy=multi-user.target