systemd: Add Install section to service files

That way the services can be enabled with
> systemctl enable <service>
This commit is contained in:
Daniel Willmann 2014-08-20 15:13:56 +02:00 committed by Daniel Willmann
parent 248b38539d
commit 0e167fc974
4 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -7,3 +7,6 @@ Type=simple
Restart=always
ExecStart=/usr/bin/osmo-bsc -c /etc/osmocom/osmo-bsc.cfg -s
RestartSec=2
[Install]
WantedBy=multi-user.target

View File

@ -6,3 +6,6 @@ Type=simple
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

View File

@ -6,3 +6,6 @@ Type=simple
Restart=always
ExecStart=/usr/bin/osmo-sgsn -c /etc/osmocom/osmo-sgsn.cfg
RestartSec=2
[Install]
WantedBy=multi-user.target