]> git.stg.codes - stg.git/blob - projects/rscriptd/rscriptd.conf
Merge branch 'new-daily-fee'
[stg.git] / projects / rscriptd / rscriptd.conf
1 ################################################################################
2 #                         Rscriptd Configuration file                          #
3 ################################################################################
4
5 # LOG file name
6 # Parameter: optional
7 # Value: file path
8 # Default: /var/log/rscriptd.log
9 LogFileName = /var/log/rscriptd.log
10
11 # Amount of rscriptd-exec processes.
12 # These processes are responsible for the execution of scripts 
13 # OnConnect and OnDisconnect.
14 # Amount of processes means how many scripts can be executed simultaneously.
15 # Recommend to leave 1 to avoid errors when executing scripts
16 # Parameter: optional
17 # Value: 1 ... 1024
18 # Default: 1
19 ExecutersNum = 1
20
21 # Message queue identifier for the script executer.
22 # It may be changed if there're a needs to run multiple copies of rscriptd.
23 # Warning: If you do not understand it, do not touch this setting!
24 # Parameter: optional
25 # Value: 0 ... 2 ^ 32
26 # Default: 5555
27 # ExecMsgKey = 5555
28
29 # The path to directory where config files are
30 # Parameter: optional
31 # Value: directory path
32 # Default: /etc/rscriptd
33 ConfigDir = /etc/rscriptd
34
35 # Defines password for the encryption exchange between
36 # Stargazer server and rscriptd.
37 # Parameter: optional
38 # Value: any
39 # Default: 123456
40 Password = 123456
41
42 # Defines port number for communication between
43 # Stargazer server and rscriptd.
44 # Parameter: optional
45 # Value: 1 ... 65535
46 # Default: 9999
47 Port = 9999
48
49 # User timeout. If Stargazer does not respond during this time,
50 # the user will be disconnected.
51 # Parameter: optional
52 # Values: 5 ... 600
53 # Default: 60
54 UserTimeout = 60
55
56 # Defines file which runs when user gets access
57 # Parameter: optional
58 # Value: file path
59 # Default: /etc/rscriptd/OnConnect
60 ScriptOnConnect = /etc/rscriptd/OnConnect
61
62 # Defines file which runs when user loses access
63 # Parameter: optional
64 # Value: file path
65 # Default: /etc/rscriptd/OnDisconnect
66 ScriptOnDisconnect = /etc/rscriptd/OnDisconnect
67
68 ################################################################################