Commit 9e5b9f4b authored by Bram Daams's avatar Bram Daams
Browse files

note about fqdn

parent 66c0d5cb
Pipeline #37768 passed with stage
in 57 seconds
......@@ -131,3 +131,28 @@ $ flake8 *py
### References
* python-crontab <https://pypi.org/project/python-crontab/>
* crab <https://github.com/grahambell/crab>
## Notes
### fully qualified domain name
`sch` uses the FQDN to identify the hosts it's running on. You can check the FQDN with:
``` console
$ hostname --fqdn
host.example.com
```
However, on some systems that don't know the domain part, it just returns the
(short) hostname instead:
``` console
$ hostname --fqdn
host
```
If this is the case, you can fix that by editing the `/etc/hosts` file so look
like this:
```
127.0.0.1 localhost
127.0.1.1 host.example.com host
```
Afterwards `hostname --fqdn` should return the FQDN. Beware that `sch` will
create new checks when the FQDN changes.
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment