diff --git a/contrib/systemd/osmo-stp.service b/contrib/systemd/osmo-stp.service index 5d06870d..3ba20cba 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