From eb42779f95a51aa00ffef62510a00dc5e7716b0d Mon Sep 17 00:00:00 2001 From: Glenn Washburn Date: Wed, 10 Oct 2018 01:08:43 -0500 Subject: Update man pages and usage to reflect --profile enhancement. --- src/man/firejail-profile.txt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/man/firejail-profile.txt') diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index 17562c503..5daca8abd 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt @@ -5,12 +5,14 @@ profile \- Security profile file syntax for Firejail .SH USAGE .TP firejail \-\-profile=filename.profile +.RE +firejail \-\-profile=profile_name .SH DESCRIPTION Several command line options can be passed to the program using profile files. Firejail chooses the profile file as follows: -\fB1.\fR If a profile file is provided by the user with \-\-profile option, the profile file is loaded. +\fB1.\fR If a profile file is provided by the user with \-\-profile option, the profile file is loaded. If a profile name is given, it is searched for first in the ~/.config/firejail directory and if not found then in /etc/firejail directory. Profile names do not include the .profile suffix. Example: .PP .RS @@ -21,6 +23,15 @@ Reading profile /home/netblue/icecat.profile [...] .RE +.PP +.RS +$ firejail --profile=icecat icecat-wrapper.sh +.br +Reading profile /home/netblue/icecat.profile +.br +[...] +.RE + \fB2.\fR If a profile file with the same name as the application is present in ~/.config/firejail directory or in /etc/firejail, the profile is loaded. ~/.config/firejail takes precedence over /etc/firejail. Example: .PP -- cgit v1.2.3-54-g00ecf