aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/systemd/osmo-sgsn.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/systemd/osmo-sgsn.service b/contrib/systemd/osmo-sgsn.service
index 0991c70c6..5fcb22623 100644
--- a/contrib/systemd/osmo-sgsn.service
+++ b/contrib/systemd/osmo-sgsn.service
@@ -9,6 +9,7 @@ Type=simple
Restart=always
ExecStart=/usr/bin/osmo-sgsn -c /etc/osmocom/osmo-sgsn.cfg
RestartSec=2
+ExecStopPost=/usr/local/bin/save_log_tail osmo-sgsn
[Install]
WantedBy=multi-user.target