From 0e167fc9740793cf4a3c82747919146073255486 Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Wed, 20 Aug 2014 15:13:56 +0200 Subject: systemd: Add Install section to service files That way the services can be enabled with > systemctl enable --- openbsc/contrib/systemd/osmo-bsc-mgcp.service | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbsc/contrib/systemd/osmo-bsc-mgcp.service') diff --git a/openbsc/contrib/systemd/osmo-bsc-mgcp.service b/openbsc/contrib/systemd/osmo-bsc-mgcp.service index 7fa2ec0a9..c040e6078 100644 --- a/openbsc/contrib/systemd/osmo-bsc-mgcp.service +++ b/openbsc/contrib/systemd/osmo-bsc-mgcp.service @@ -6,3 +6,6 @@ Type=simple Restart=always ExecStart=/usr/bin/osmo-bsc_mgcp -s -c /etc/osmocom/osmo-bsc-mgcp.cfg RestartSec=2 + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3