From 6dbe76a021740cb9ac10d1a42dab6f92a97c26e0 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 27 Dec 2018 17:36:37 +0100 Subject: systemd service: add save_log_tail Change-Id: Iceca2934a5451f27e94322ab76ef9336771fced0 --- contrib/systemd/osmo-stp.service | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3