編集:どうやらスクリプトは実行されますが、ブラウザが起動しません。なぜなのかはまだわかりません。
コマンド/スクリプトを実行するためにスーパーバイザーを使用しようとしていますが、動作させることができないようです。
次のスクリプトで同じことを行う Pi_Video_looper のアイデアを得ました。
# Supervisord configuration to run video looper at boot and
# ensure it runs continuously.
[program:video_looper]
command=python -u -m Adafruit_Video_Looper.video_looper
autostart=true
autorestart=unexpected
startsecs=5
だから私はこれに私のニーズに合わせてそれを修正しました:
# Supervisord configuration to run video looper at boot and
# ensure it runs continuously.
[program:video_looper]
command=chromium-browser http://google.be --incognito
autostart=true
autorestart=unexpected
startsecs=5
コマンドでも使用しました:
python /home/pi/Startup/Script.py
コマンドラインから完全に実行されますが、いくつかのテストを行ってからブラウザーを呼び出しますが、何もしません。何か不足していますか?
編集: 再起動後に機能しません。sudo service supervisor restart
EDIT 2:ログファイルは実行されているはずであることを示しているので、どうやら私のGUIで開かないのですか?:
2016-01-27 16:40:43,569 INFO daemonizing the supervisord process
2016-01-27 16:40:43,573 INFO supervisord started with pid 4767
2016-01-27 16:40:44,583 INFO spawned: 'video_looper' with pid 4773
2016-01-27 16:40:49,593 INFO success: video_looper entered RUNNING state, process has stayed up for > than 5 seconds (startsecs)