diff options
Diffstat (limited to 'src/man/firejail-profile.txt')
-rw-r--r-- | src/man/firejail-profile.txt | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index 5daca8abd..e26b5f989 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt | |||
@@ -27,7 +27,7 @@ Reading profile /home/netblue/icecat.profile | |||
27 | .RS | 27 | .RS |
28 | $ firejail --profile=icecat icecat-wrapper.sh | 28 | $ firejail --profile=icecat icecat-wrapper.sh |
29 | .br | 29 | .br |
30 | Reading profile /home/netblue/icecat.profile | 30 | Reading profile /etc/firejail/icecat.profile |
31 | .br | 31 | .br |
32 | [...] | 32 | [...] |
33 | .RE | 33 | .RE |
@@ -87,6 +87,18 @@ Example: "blacklist ~/My Virtual Machines" | |||
87 | \fB# this is a comment | 87 | \fB# this is a comment |
88 | 88 | ||
89 | .TP | 89 | .TP |
90 | \fB?CONDITIONAL: profile line | ||
91 | Conditionally add profile line. | ||
92 | |||
93 | Example: "?HAS_APPIMAGE: whitelist ${HOME}/special/appimage/dir" | ||
94 | |||
95 | This example will load the whitelist profile line only if the \-\-appimage option has been specified on the command line. | ||
96 | |||
97 | Currently the only conditional supported is HAS_APPIMAGE. | ||
98 | |||
99 | The profile line may be any profile line that you would normally use in a profile \fBexcept\fR for "quiet" and "include" lines. | ||
100 | |||
101 | .TP | ||
90 | \fBinclude other.profile | 102 | \fBinclude other.profile |
91 | Include other.profile file. | 103 | Include other.profile file. |
92 | 104 | ||
@@ -101,6 +113,10 @@ Example: "include ${HOME}/myprofiles/profile1" will load "~/myprofiles/profile1" | |||
101 | 113 | ||
102 | Example: "include ${CFG}/firefox.profile" will load "/etc/firejail/firefox.profile" file. | 114 | Example: "include ${CFG}/firefox.profile" will load "/etc/firejail/firefox.profile" file. |
103 | 115 | ||
116 | 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. | ||
117 | |||
118 | Example: "include firefox.profile" will load "${HOME}/.config/firejail/firefox.profile" file and if it does not exist "${CFG}/firefox.profile" will be loaded. | ||
119 | |||
104 | System configuration files in ${CFG} are overwritten during software installation. | 120 | System configuration files in ${CFG} are overwritten during software installation. |
105 | Persistent configuration at system level is handled in ".local" files. For every | 121 | Persistent configuration at system level is handled in ".local" files. For every |
106 | profile file in ${CFG} directory, the user can create a corresponding .local file | 122 | profile file in ${CFG} directory, the user can create a corresponding .local file |