aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/systemd/osmo-ggsn.service
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-12-27 17:38:10 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-12-27 17:38:10 +0100
commit64158720d72dcc02dc49bec64dce9cdb040f5767 (patch)
tree432a40fac699c49092a85a9c0d9a5621eb4d2aef /contrib/systemd/osmo-ggsn.service
parent6da888c5d0dd155b01d329c11263a64381b713f7 (diff)
systemd service: add save_log_tail35c3
Diffstat (limited to 'contrib/systemd/osmo-ggsn.service')
-rw-r--r--contrib/systemd/osmo-ggsn.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/systemd/osmo-ggsn.service b/contrib/systemd/osmo-ggsn.service
index c75325d..b368201 100644
--- a/contrib/systemd/osmo-ggsn.service
+++ b/contrib/systemd/osmo-ggsn.service
@@ -8,6 +8,7 @@ Restart=always
ExecStart=/usr/bin/osmo-ggsn -c /etc/osmocom/osmo-ggsn.cfg
RestartSec=2
RestartPreventExitStatus=1
+ExecStopPost=/usr/local/bin/save_log_tail osmo-ggsn
[Install]
WantedBy=multi-user.target