Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
linux:systemd [15-05-2017 11:23] edmc73 |
linux:systemd [26-10-2017 21:18] edmc73 |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== SystemD ====== | ====== SystemD ====== | ||
+ | ===== Lire les log ===== | ||
+ | --- source: https:// | ||
+ | |||
+ | journalctl | ||
+ | comme tail -f | ||
+ | journalctl -f | ||
+ | |||
+ | Filtrer par service | ||
+ | journalctl -u crond | ||
+ | |||
+ | |||
+ | ===== Timer ===== | ||
Lister les timers | Lister les timers | ||
systemctl list-timers --all | systemctl list-timers --all | ||
Ligne 21: | Ligne 33: | ||
[Install] | [Install] | ||
WantedBy=timers.target | WantedBy=timers.target | ||
- | and certbot.service will execute the renew command. | ||
</ | </ | ||
+ | |||
+ | and certbot.service will execute the renew command. | ||
+ | |||
<code bash> | <code bash> |