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...
=======================================
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がおかしいとか怒られてる感じだな。

http://ift.tt/1abnmbU
May 22, 2016 at 03:19PM

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)