aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-12-27 17:40:28 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-12-27 17:40:28 +0100
commit8e7d77abeffdd3900eae5c388e10e6b044fdd60d (patch)
tree32bc819df55315082b1b9e3b2bd98eb16f2d393b
parent2868b3ec4345d550e433f65a72d013da5370a818 (diff)
systemd service: add save_log_tail
-rw-r--r--contrib/systemd/osmo-msc.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/systemd/osmo-msc.service b/contrib/systemd/osmo-msc.service
index 343639cf3..8fef13351 100644
--- a/contrib/systemd/osmo-msc.service
+++ b/contrib/systemd/osmo-msc.service
@@ -10,6 +10,7 @@ Type=simple
Restart=always
ExecStart=/usr/bin/osmo-msc -c /etc/osmocom/osmo-msc.cfg
RestartSec=2
+ExecStopPost=/usr/local/bin/save_log_tail osmo-msc
[Install]
WantedBy=multi-user.target