Update Makefile
This commit is contained in:
parent
8226e57795
commit
97ef8caa17
11
Makefile
11
Makefile
@ -2,6 +2,17 @@ install-debug:
|
||||
@sudo systemctl --runtime link sfsmcd/sfsmc-debug@.service
|
||||
.PHONY: install-debug
|
||||
|
||||
install-dbus:
|
||||
@if [[ ! -e /usr/share/dbus-1/system.d/ ]]; then \
|
||||
echo DBus security policy files are not located at the expected path;\
|
||||
echo Please install the security policy for 'org.ddnss.sfs.mc' manually;\
|
||||
echo " \`sudo cp sfsmcd/org.ddnss.sfs.mc.conf <your path e.g. /usr/share/dbus-1/system.d/>\`";\
|
||||
exit 1;\
|
||||
elif [[ ! -e /usr/share/dbus-1/system.d/org.ddnss.sfs.mc.conf ]]; then \
|
||||
sudo cp sfsmcd/org.ddnss.sfs.mc.conf /usr/share/dbus-1/system.d/;\
|
||||
fi
|
||||
.PHONY: install-dbus
|
||||
|
||||
journalctl:
|
||||
@journalctl -efSnow -usfsmc-debug@$$(cd ..; pwd) -ocat
|
||||
.PHONY: journalctl
|
||||
|
Loading…
Reference in New Issue
Block a user