Python3とsystemd-tmpfiles.dの便利なサイト

Python3ではsendとthrowについてわからなかったので参考にしたサイト。 iteratorについてはこんな使い方があるのかと感動した。

あと、systemd-tmpfiles.dにて /tmp/ or /var/の定期的削除に関して、 systemd-tmpfiles-clean.serviceで削除をしている。そのためのconfは /usr/lib/tmpfiles.d/*.conf, /run/tmpfiles.d/*.conf, and /etc/tmpfiles.d/*.conf. に記載できる。

$ systemctl status systemd-tmpfiles-setup.service systemd-tmpfiles-clean.timer

$ less /usr/lib/systemd/system/systemd-tmpfiles-clean.service

Python3 Tutorial: Generators

www.interserver.net