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