From b343481c8fb415e91c082aaa4e9319bfcaa9e0a6 Mon Sep 17 00:00:00 2001 From: Glenn Washburn Date: Wed, 10 Oct 2018 01:58:45 -0500 Subject: Update profile manpage to detail added "include" functionality. --- src/man/firejail-profile.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/man/firejail-profile.txt') diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index ca7b52a51..17423cac1 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt @@ -113,6 +113,10 @@ Example: "include ${HOME}/myprofiles/profile1" will load "~/myprofiles/profile1" Example: "include ${CFG}/firefox.profile" will load "/etc/firejail/firefox.profile" file. +The file name may also be just the name without the leading directory components. In this case, first the user config directory (${HOME}/.config/firejail) is searched for the file name and if not found then the system configuration directory is search for the file name. Note: Unlike the \-\-profile option which takes a profile name without the '.profile' suffix, include must be given the full file name. + +Example: "include firefox.profile" will load "${HOME}/.config/firejail/firefox.profile" file and if it does not exist "${CFG}/firefox.profile" will be loaded. + System configuration files in ${CFG} are overwritten during software installation. Persistent configuration at system level is handled in ".local" files. For every profile file in ${CFG} directory, the user can create a corresponding .local file -- cgit v1.2.3-54-g00ecf