aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/systemd/osmo-bsc.service
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-12-27 17:37:00 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-12-27 17:37:00 +0100
commit70e946ec403469e90d0c261e18279feb825dad43 (patch)
treed4dc573e4288de18e30af2e168c51ac7f4fcbd43 /contrib/systemd/osmo-bsc.service
parent2de0c8b9bb5d5c2e1a4da407dcce819dabc346b5 (diff)
systemd service: add save_log_tail35c3
Diffstat (limited to 'contrib/systemd/osmo-bsc.service')
-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