summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-12-27 17:43:03 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-12-27 17:43:03 +0100
commit05a74f195304d2886ce651dcb4ab786f53f5c178 (patch)
tree3b7cbcec06bf537f3cfdc6a38bc5636922729b08
parent8e6786ad31475fd4d6ce7ad7b2a9b6413305855d (diff)
systemd service: add save_log_tail
-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