summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-12-27 17:36:37 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-12-27 17:45:58 +0100
commit6dbe76a021740cb9ac10d1a42dab6f92a97c26e0 (patch)
tree1edd88ab847f2d3c226f977cdb94f6c553c982ba
parent069b20dd6ef4851ce993b523d11775e8bbae15c0 (diff)
systemd service: add save_log_tail35c3
-rw-r--r--contrib/systemd/osmo-stp.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/systemd/osmo-stp.service b/contrib/systemd/osmo-stp.service
index 5d06870..3ba20cb 100644
--- a/contrib/systemd/osmo-stp.service
+++ b/contrib/systemd/osmo-stp.service
@@ -6,6 +6,7 @@ Type=simple
Restart=always
ExecStart=/usr/bin/osmo-stp -c /etc/osmocom/osmo-stp.cfg
RestartSec=2
+ExecStopPost=/usr/local/bin/save_log_tail osmo-stp
[Install]
WantedBy=multi-user.target