aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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