systemd service: add save_log_tail
Change-Id: Iee292f88920f374e26ef67fb814d832c8101ec39
This commit is contained in:
parent
8e6786ad31
commit
05a74f1953
|
@ -6,6 +6,7 @@ Type=simple
|
||||||
Restart=always
|
Restart=always
|
||||||
ExecStart=/usr/bin/osmo-sip-connector -c /etc/osmocom/osmo-sip-connector.cfg
|
ExecStart=/usr/bin/osmo-sip-connector -c /etc/osmocom/osmo-sip-connector.cfg
|
||||||
RestartSec=2
|
RestartSec=2
|
||||||
|
ExecStopPost=/usr/local/bin/save_log_tail osmo-sip-connector
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue