blob: 1c98bbf38ec0f26992752dcafb9e928130bbc52f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
MUSE SERVER
How to set on-demand launching
=============================
* Set the on-demand of mused.conf with 'true', which is set 'false' now
* Set the Install of muse-server.serivce with 'Also=muse-server.socket', which is set 'WantedBy=multi-user.target' now
* Remove the 'Restart=always' at the muse-server.service
* Remove the part related with 'multi-user.target' at the mused.spec (Refer the diff as below)
-mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants
+mkdir -p %{buildroot}%{_unitdir}
install -m 0644 %SOURCE1 %{buildroot}%{_unitdir}/muse-server.service
-%install_service multi-user.target.wants muse-server.service
-%{_unitdir}/multi-user.target.wants/muse-server.service
+%{_unitdir}/muse-server.service
* For testing, reboot the target after removing the muse-server.service file at /usr/lib/systemd/system/multi-user.target.wants/
* After booting, you can check the command of 'systemctl status muse-server -l' as below
sh-3.2# systemctl status muse-server -l
● muse-server.service - muse server
Loaded: loaded (/usr/lib/systemd/system/muse-server.service; bad; vendor preset: enabled)
Active: inactive (dead)
|