Many Linux distributions use systemd to manage the system's services (or daemons), for example to automatically start certain services in the correct order when the system boots. Writing a systemd ...
Raspberry Pi (Raspbian GNU/Linux 12 bookworm) で、外部ライブラリ(discord.pyなど)を使用したPythonスクリプトをsystemdでサービスとして起動しようとしたところ、起動に失敗して困っていました。 今回は、この問題の原因と解決方法について、自分がハマったポイントも ...
Writing a systemd Service in Python Many Linux distributions use systemd to manage the system's services (or daemons), for example to automatically start certain services in the correct order when the ...
Linuxの起動時に自分で書いたPythonのコードを自動起動するようにユニットファイルを書き、systemctl startでサービスを開始した。 しかし、systemctl statusでサービスを確認すると、なぜか実行に失敗している。 ターミナルにて手動でコードを起動した際には ...
第557回では、 systemdユニットの依存関係を読む方法を紹介しました。 今回は、 systemdユニットの設定を変更する方法を紹介します。 事前準備 systemdユニットの設定変更は最悪の場合、 システムが正常に起動しなくなる恐れもあります。したがって手順を実際 ...
ソフトウェアの作成時における悩ましい問題のひとつが 「動作確認環境の構築」 です。今回はこの動作確認環境をCI等から ...
Pull fresh Unsplash wallpapers and rotate them on GNOME automatically with a Python script plus a systemd service and timer.
A line drawing of the Internet Archive headquarters building façade. An illustration of a magnifying glass. An illustration of a magnifying glass.
A line drawing of the Internet Archive headquarters building façade. An illustration of a magnifying glass. An illustration of a magnifying glass.