commit | 7676dc476c5ee49eb94b7ce53011bbdfe0a2f580 | [log] [tgz] |
---|---|---|
author | Daniel Willmann <dwillmann@sysmocom.de> | Wed Aug 20 15:13:56 2014 +0200 |
committer | Daniel Willmann <daniel@totalueberwachung.de> | Thu Aug 21 10:19:50 2014 +0200 |
tree | a690b79ba3d02ab11becf1066a9029b6a62dc3e1 | |
parent | cb7cf56229ea767ee39ad61c47506f75d500eddb [diff] |
systemd: Add Install section to service files That way the services can be enabled with > systemctl enable <service>
diff --git a/openbsc/contrib/systemd/osmo-bsc-mgcp.service b/openbsc/contrib/systemd/osmo-bsc-mgcp.service index 7fa2ec0..c040e60 100644 --- a/openbsc/contrib/systemd/osmo-bsc-mgcp.service +++ b/openbsc/contrib/systemd/osmo-bsc-mgcp.service
@@ -6,3 +6,6 @@ Restart=always ExecStart=/usr/bin/osmo-bsc_mgcp -s -c /etc/osmocom/osmo-bsc-mgcp.cfg RestartSec=2 + +[Install] +WantedBy=multi-user.target
diff --git a/openbsc/contrib/systemd/osmo-bsc.service b/openbsc/contrib/systemd/osmo-bsc.service index deaf123..eb6cacb 100644 --- a/openbsc/contrib/systemd/osmo-bsc.service +++ b/openbsc/contrib/systemd/osmo-bsc.service
@@ -7,3 +7,6 @@ Restart=always ExecStart=/usr/bin/osmo-bsc -c /etc/osmocom/osmo-bsc.cfg -s RestartSec=2 + +[Install] +WantedBy=multi-user.target
diff --git a/openbsc/contrib/systemd/osmo-nitb.service b/openbsc/contrib/systemd/osmo-nitb.service index a9d5d8c..377497e 100644 --- a/openbsc/contrib/systemd/osmo-nitb.service +++ b/openbsc/contrib/systemd/osmo-nitb.service
@@ -6,3 +6,6 @@ Restart=always ExecStart=/usr/bin/osmo-nitb -s -C -c /etc/osmocom/osmo-nitb.cfg -l /var/lib/osmocom/hlr.sqlite3 RestartSec=2 + +[Install] +WantedBy=multi-user.target
diff --git a/openbsc/contrib/systemd/osmo-sgsn.service b/openbsc/contrib/systemd/osmo-sgsn.service index afd0f40..674d786 100644 --- a/openbsc/contrib/systemd/osmo-sgsn.service +++ b/openbsc/contrib/systemd/osmo-sgsn.service
@@ -6,3 +6,6 @@ Restart=always ExecStart=/usr/bin/osmo-sgsn -c /etc/osmocom/osmo-sgsn.cfg RestartSec=2 + +[Install] +WantedBy=multi-user.target