refine documentation
This commit is contained in:
parent
6dbabdea9d
commit
35c3b0b41c
3 changed files with 39 additions and 58 deletions
|
@ -37,7 +37,7 @@ from shadowsocks import common
|
|||
def daemon_exec(config):
|
||||
if 'daemon' in config:
|
||||
if os.name != 'posix':
|
||||
raise Exception('daemon mode is only supported in unix')
|
||||
raise Exception('daemon mode is only supported on Unix')
|
||||
command = config['daemon']
|
||||
if not command:
|
||||
command = 'start'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue