Browse Source

Add AppArmor abstraction usage example

From: Stefan Bühler <stbuehler@web.de>

git-svn-id: svn://svn.lighttpd.net/spawn-fcgi/trunk@66 4a9f3682-ca7b-49a8-9a55-ba4640e46f83
master
Stefan Bühler 8 years ago
parent
commit
a032343dbb
  1. 26
      doc/apparmor.d-abstractions-spawn-fcgi

26
doc/apparmor.d-abstractions-spawn-fcgi

@ -1,7 +1,31 @@
# /etc/apparmor.d/abstractions/spawn-fcgi
#
# a spawn-fcgi profile should include this abstraction
# a (nested) spawn-fcgi profile should include this abstraction
# and a rule to execute the FastCGI application itself
#
# Example for runit (or daemontools) service "foo" starting php:
#
# #include <tunables/global>
# /etc/sv/foo/run {
# #include <abstractions/base>
# /bin/dash ix,
# /etc/sv/foo/run r,
#
# # spawn-fcgi + alternatives handling in debian
# /usr/bin/spawn-fcgi* px -> /etc/sv/foo/run//spawn-fcgi,
#
# profile spawn-fcgi {
# #include <abstractions/spawn-fcgi>
# /usr/bin/php5-cgi px -> /etc/sv/foo/run//php,
# }
#
# profile php {
# #include <abstractions/base>
# #include <abstractions/php5>
# /var/www/** r,
# }
# }
#include <abstractions/base>
#include <abstractions/nameservice>

Loading…
Cancel
Save