Settings for yocto: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=== Disable Systemd for a app === SYSTEMD_AUTO_ENABLE_${PN} = "disable" OPTS="--root=$D" systemctl $OPTS mask modutils.service Note Disable does not work in yocto === Enable app in systemd === OPTS="--root=$D" systemctl $OPTS enable modutils.service") |
No edit summary |
||
| Line 13: | Line 13: | ||
systemctl $OPTS enable modutils.service | systemctl $OPTS enable modutils.service | ||
=== Manually disable === | |||
remove the link created in /etc/systemd/system. | |||
Revision as of 14:40, 26 January 2023
Disable Systemd for a app
SYSTEMD_AUTO_ENABLE_${PN} = "disable"
OPTS="--root=$D"
systemctl $OPTS mask modutils.service
Note Disable does not work in yocto
Enable app in systemd
OPTS="--root=$D"
systemctl $OPTS enable modutils.service
Manually disable
remove the link created in /etc/systemd/system.