Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lyskom-server-ceder-1616-generations-topgit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
e78cf316
Commit
e78cf316
authored
Apr 17, 1999
by
Per Cederqvist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updateLysKOM now reads the configuration file. Fixes to komrunning.c.
parent
87c06c9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
ChangeLog
ChangeLog
+29
-0
No files found.
ChangeLog
View file @
e78cf316
1999-04-17 Per Cederqvist <ceder@lysator.liu.se>
updateLysKOM now reads the configuration file.
* src/server/updateLysKOM.c (usage): New function.
(checkstatus): Use parameters "Normal shutdown time", "Mail after
downtime" and "Mail until downtime" instead of
using hard-coded values. Use "mail" instead of "Mail" to send the
mail.
(main): Read the configuration file. Use parameters "Pid file",
"Status file" and "lyskomd path" instead of hard-coded values.
* src/server/server-config.c (param): Moved here from various
files.
(parameters): Added "Normal shutdown time", "Mail after downtime",
"Mail until downtime" and "lyskomd path".
(read_configuration): Handle param.lyskomd_path.
* src/server/ramkomd.c: (param): Moved to server-config.c.
* src/server/dbck.c (param): Moved to server-config.c.
* src/server/Makefile.am (READ_CONFIG): New variable.
(komrunning_SOURCES): Use READ_CONFIG to simplify code.
(updateLysKOM_SOURCES): Added READ_CONFIG.
* src/server/param.h (struct kom_par): New parameters:
lyskomd_path, normal_shutdown_time, downtime_mail_start and
downtime_mail_end.
* src/server/server-config.c (parameters): Moved a few entries
around, so that they fit under the various headings.
Fixes to komrunning.c.
* src/server/komrunning.c (param): Moved to server-config.c.
(create_status): Write the name of the user as the first line of
the status file. With luck, that is a valid email address.
Handle many simultaneous clients.
* src/server/connections.c (login_request): Don't handle the "% No
connections left" situation.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment