Serj Kalichev
|
f3f23f6797
Template for syslog logging sym
|
1 year ago |
Serj Kalichev
|
f0cbc6bd0d
Fix syslog messages and their levels
|
1 year ago |
Serj Kalichev
|
b4facd94ec
Merge branch 'master' of https://src.libcode.org/pkun/klish
|
1 year ago |
Serj Kalichev
|
026beb7825
Use empty signal handler to ignore SIGPIPE because SIG_IGN will be inherited while fork/exec
|
1 year ago |
Serj Kalichev
|
84531cf59c
Fix SIGPIPE in client and ktpd when scheme is empty
|
1 year ago |
Serj Kalichev
|
3ea3aaf2bc
Fix getting sub-ini file by dbs
|
1 year ago |
Serj Kalichev
|
93aa5b675d
klishd ignores SIGPIPE when client close the socket
|
1 year ago |
Serj Kalichev
|
269951a6bf
Use faux_daemon() to daemonize. Parent writes pidfile
|
1 year ago |
Serj Kalichev
|
c48a485d2c
Rename KCONTEXT_ enum to KCONTEXT_TYPE_
|
2 years ago |
Serj Kalichev
|
fcf4b766ad
ktpd: Implement exit
|
2 years ago |
Serj Kalichev
|
bd6c878d57
context: Add scheme field and ustore funcs
|
2 years ago |
Serj Kalichev
|
28a9a185d9
ACTION's context contains session data
|
2 years ago |
Serj Kalichev
|
6ddb3df2f2
ktpd: Transmit retcode to client
|
3 years ago |
Serj Kalichev
|
e0b011bc69
ktpd: Process ACTION
|
3 years ago |
Serj Kalichev
|
a00e980fc0
kexec: First version of exec_action_sequence
|
3 years ago |
Serj Kalichev
|
f3dcc9d3e8
Move client_ev() to ktpd_session. Wait for action's processes within ktpd and call special function from ktpd_session
|
3 years ago |
Serj Kalichev
|
0a57d879a4
ktpd_session: Class now contain eloop object
|
3 years ago |
Serj Kalichev
|
623b33392c
ktp_session: A bit reorganize
|
3 years ago |
Serj Kalichev
|
fe207aafda
Minor changes
|
3 years ago |
Serj Kalichev
|
d42152c68b
klishd: Function to daemonize
|
3 years ago |
Serj Kalichev
|
8a9c355ee6
klishd: Get line from client
|
3 years ago |
Serj Kalichev
|
9ba0f7428b
klish: Utility can send command to daemon
|
3 years ago |
Serj Kalichev
|
767a6e6623
klishd: Fix exit status of service process
|
3 years ago |
Serj Kalichev
|
ff5535bacb
klishd: Event loop for service process. Unfinished
|
3 years ago |
Serj Kalichev
|
c3449345e3
ktpd_session contains ksession_t
|
3 years ago |
Serj Kalichev
|
ef2110770c
klishd: Begin to init service process after fork
|
3 years ago |
Serj Kalichev
|
4e2bb7ba1b
klishd: Fork process on each client connection
|
3 years ago |
Serj Kalichev
|
0d28aea6f2
entry: Remove all useless structs from tree. From ischeme and kscheme. Removed elements are view, ptype, command, param, nspace. All correspondent XML tags translate its content to kentry_t
|
3 years ago |
Serj Kalichev
|
57aedead12
parse: Completion entries are unique
|
3 years ago |
Serj Kalichev
|
c28227c898
parse: Parsing for excution and completion
|
3 years ago |