summaryrefslogtreecommitdiff
path: root/doc/common.switches.txt
blob: fe5360dad32fbb01675680481217c65aae96aa71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

Following switches are common to all skytools.DBScript-based
Python programs.

  -h, --help::
	show help message and exit

  -q, --quiet::
	make program silent

  -v, --verbose::
	make program more verbose

  -d, --daemon::
	make program go background

  --ini::
        show commented template config file.

Following switches are used to control already running process.
The pidfile is read from config then signal is sent to process
id specified there.

  -r, --reload::
	reload config (send SIGHUP)

  -s, --stop::
	stop program safely (send SIGINT)

  -k, --kill::
	kill program immidiately (send SIGTERM)