New OPTIONS variable for warewulfd.service

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2025-02-05 22:14:53 -07:00
parent 89721c6832
commit fa46794d38
3 changed files with 19 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Document defining kernel args that include commas. #1679 - Document defining kernel args that include commas. #1679
- Recommend installing ipmitool with Warewulf package. #970 - Recommend installing ipmitool with Warewulf package. #970
- Add completion for profile list. #1695 - Add completion for profile list. #1695
- Add OPTIONS argument for `warewulfd.service`. #1707
### Changed ### Changed

View File

@@ -9,7 +9,7 @@ Type=exec
EnvironmentFile=-/etc/default/warewulfd EnvironmentFile=-/etc/default/warewulfd
User=root User=root
Group=root Group=root
ExecStart=@BINDIR@/wwctl server ExecStart=@BINDIR@/wwctl server $OPTIONS
ExecReload=/bin/kill -HUP "$MAINPID" ExecReload=/bin/kill -HUP "$MAINPID"
Restart=always Restart=always

View File

@@ -1,6 +1,23 @@
Troubleshooting Troubleshooting
=============== ===============
warewulfd
---------
The Warewulf server (``warewulfd``) sends logs to the systemd journal.
.. code-block::
journalctl -u warewulfd.service
To increase the verbosity of the log, specify either ``--verbose`` or
``--debug`` in the warewulfd OPTIONS.
.. code-block::
echo "OPTIONS=--debug" >>/etc/default/warewulfd
systemctl restart warewulfd.service
iPXE iPXE
---- ----