aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/systemd/sysmobts-mgr.service
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/systemd/sysmobts-mgr.service')
-rw-r--r--contrib/systemd/sysmobts-mgr.service4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/systemd/sysmobts-mgr.service b/contrib/systemd/sysmobts-mgr.service
index 4346991d..ef2751c7 100644
--- a/contrib/systemd/sysmobts-mgr.service
+++ b/contrib/systemd/sysmobts-mgr.service
@@ -1,9 +1,13 @@
[Unit]
Description=osmo-bts manager for sysmoBTS
+After=network-online.target
+Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/sysmobts-mgr -ns -c /etc/osmocom/sysmobts-mgr.cfg
+StateDirectory=osmocom
+WorkingDirectory=%S/osmocom
Restart=always
RestartSec=2