systemdユーザーユニットが起動時に起動しないのはなぜですか?
systemdユーザーユニットを作成し、システムの起動時に開始するようにしています。サービスは手動で開始されますが、起動時に開始されません。 インターネットの検索から、ユーザーユニットが起動時に起動するためにはloginctl enable-linger <username>、おそらく実行する必要があることを学びましたが、これはまったく効果がなかったようです。実際、manページには次のように書かれています。 Enable/disable user lingering for one or more users. If enabled for a specific user, a user manager is spawned for the user at boot and kept around after logouts. This allows users who are not logged in to run long-running services. このコマンドを実行しても、ブート時にサービスが開始されません。 loginctl enable-linger error ユニット: …