aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-12-27 17:42:06 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-12-27 17:42:18 +0100
commit19bf6f65cb1f30b6bff736a510109089bef7dc05 (patch)
treea75427ec041afa1a880eaceeab62ab0908a3ae9e
parent55aad3f69479b94d9758adcdc5d20bda06281ea6 (diff)
systemd service: add save_log_tail35c3x
-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 0991c70c..5fcb2262 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