New OPTIONS variable for warewulfd.service
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user