chiark / gitweb /
build-depends tetex-extra
[userv.git] / system.default
1 # Generally, if you want all your users to provide a service for your
2 # benefit but want them to be able to override your default setting,
3 # you should put it in this file but not use quit.  Eg:
4 #       if ( grep service-user-shell /etc/shells
5 #          & glob service mail-delivery
6 #          & glob calling-user mail
7 #          )
8 #               reset
9 #               no-suppress-args
10 #               execute /usr/local/bin/procmail-wrapper
11 #       fi
12 # (procmail-wrapper could extract envelope information from the
13 # arguments and/or -D options and pass them to procmail.)
14
15 include-directory /etc/userv/default.d
16 include-lookup service /etc/userv/services.d
17
18 # If you want to force users to provide a particular service,
19 # then you can put it here and use `quit'.  Eg:
20 #       if ( grep service-user-shell /etc/shells
21 #          & glob service cleanup-tmp
22 #          )
23 #               reset
24 #               errors-to-syslog local4
25 #               execute /usr/local/bin/cleanup-tmp
26 #               no-set-environment
27 #               no-disconnect-hup
28 #               null-fd 0 read
29 #               null-fd 1-2 write
30 #               quit
31 #       fi
32 # Alternatively, you could put the same thing in system.override, with
33 # or without the quit.  In this case it's usually important to use
34 # reset, and also to note that now users can cause error messages
35 # which they could not do before (though due to the implied catch-quit
36 # around the user's rc file they wouldn't stop the service being
37 # executed).
38 #
39 # If you want to force all your users' services to have a particular
40 # property you should do it in system.override.  Eg, there put
41 #       set-environment
42 # to force them to run /etc/environment to have ulimits set up, even
43 # if they try not to.
44 #
45 # NB that doing this _won't_ affect things in system.default and
46 # earlier in system.override that use `quit'.