Rails自動起動うまくいかぬ。CentOSとUbuntuで流儀が違う。 下記のコマンドで原因調査 $ sudo systemctl status -l unicorn.service systemd[1]: [/usr/lib/systemd/system/unicorn.service:10] Executable path is not absolute, ignoring: bundle exec "unicorn_rails -c config/unicorn.rb -D" 5月 22 15:35:03 systemd[1]: unicorn.service has no ExecStart= setting, which is only allowed for RemainAfterExit=yes services. Refusing. 5月 22 15:35:04 systemd[1]: Cannot add dependency job for unit unicorn.service, ignoring: Unit unicorn.service failed to load: Invalid argument. See system logs and 'systemctl status unicorn.service' for details. 何かbundleのPATHがおかしいとか怒られてる感じだな。
Rails自動起動うまくいかぬ。CentOSとUbuntuで流儀が違う。 下記のコマンドで原因調査 $ sudo systemctl status -l unicorn.service systemd...
=======================================
http://ift.tt/1abnmbU
May 22, 2016 at 03:19PM
=======================================
Rails自動起動うまくいかぬ。CentOSとUbuntuで流儀が違う。
下記のコマンドで原因調査
$ sudo systemctl status -l unicorn.service
systemd[1]: [/usr/lib/systemd/system/unicorn.service:10] Executable path is not absolute, ignoring: bundle exec "unicorn_rails -c config/unicorn.rb -D"
5月 22 15:35:03 systemd[1]: unicorn.service has no ExecStart= setting, which is only allowed for RemainAfterExit=yes services. Refusing.
5月 22 15:35:04 systemd[1]: Cannot add dependency job for unit unicorn.service, ignoring: Unit unicorn.service failed to load: Invalid argument. See system logs and 'systemctl status unicorn.service' for details.
何かbundleのPATHがおかしいとか怒られてる感じだな。
下記のコマンドで原因調査
$ sudo systemctl status -l unicorn.service
systemd[1]: [/usr/lib/systemd/system/unicorn.service:10] Executable path is not absolute, ignoring: bundle exec "unicorn_rails -c config/unicorn.rb -D"
5月 22 15:35:03 systemd[1]: unicorn.service has no ExecStart= setting, which is only allowed for RemainAfterExit=yes services. Refusing.
5月 22 15:35:04 systemd[1]: Cannot add dependency job for unit unicorn.service, ignoring: Unit unicorn.service failed to load: Invalid argument. See system logs and 'systemctl status unicorn.service' for details.
何かbundleのPATHがおかしいとか怒られてる感じだな。
http://ift.tt/1abnmbU
May 22, 2016 at 03:19PM
コメント
コメントを投稿