Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Linux Service Management Made Easy with systemd

You're reading from   Linux Service Management Made Easy with systemd Advanced techniques to effectively manage, control, and monitor Linux systems and services

Arrow left icon
Product type Paperback
Published in Feb 2022
Publisher Packt
ISBN-13 9781801811644
Length 420 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Donald A. Tevault Donald A. Tevault
Author Profile Icon Donald A. Tevault
Donald A. Tevault
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Preface 1. Section 1: Using systemd
2. Chapter 1: Understanding the Need for systemd FREE CHAPTER 3. Chapter 2: Understanding systemd Directories and Files 4. Chapter 3: Understanding Service, Path, and Socket Units 5. Chapter 4: Controlling systemd Services 6. Chapter 5: Creating and Editing Services 7. Chapter 6: Understanding systemd Targets 8. Chapter 7: Understanding systemd Timers 9. Chapter 8: Understanding the systemd Boot Process 10. Chapter 9: Setting System Parameters 11. Chapter 10: Understanding Shutdown and Reboot Commands 12. Section 2: Understanding cgroups
13. Chapter 11: Understanding cgroups Version 1 14. Chapter 12: Controlling Resource Usage with cgroups Version 1 15. Chapter 13: Understanding cgroup Version 2 16. Section 3: Logging, Timekeeping, Networking, and Booting
17. Chapter 14: Using journald 18. Chapter 15: Using systemd-networkd and systemd-resolved 19. Chapter 16: Understanding Timekeeping with systemd 20. Chapter 17: Understanding systemd and Bootloaders 21. Chapter 18: Understanding systemd-logind 22. Other Books You May Enjoy

Setting time and timezone parameters

Back in the Stone Age of computing, maintaining accurate time on a computer wasn't all that important. To set the time on my old 8088-powered Sanyo PC clone, I just typed in whatever my watch said. That wasn't the most accurate way of doing things, but it didn't matter. The only real reason to set the computer time at all was to have somewhat accurate timestamps on the files that I created.

Nowadays, accurate timekeeping on computers is vitally important for a lot of reasons. Fortunately, we now have the Network Time Protocol (NTP), which is a lot more accurate than what my old-fashioned wind-up wristwatch was. The systemd suite comes with the timedatectl utility and systemd-timedated.service to help us out. In this chapter, we'll talk about timedatectl, but we'll save discussing systemd-timedated.service until Chapter 17, Understanding systemd and Bootloaders.

To see the status of your machine's timekeeping,...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image