Skip to content

Service exits immediately - 1/FAILURE #6972

Closed
@gino

Description

@gino

Hi there,

I just installed Gitea on my server and created a service file, but unfortunately the service stops immediately without any errors.

May 17 11:02:37 [host] systemd[1]: Started Gitea (Git with a cup of tea).
May 17 11:02:37 [host] gitea[4001]: 2019/05/17 11:02:37 #033[1;36m[T] AppPath: /usr/local/bin/gitea#033[0m
May 17 11:02:37 [host] gitea[4001]: 2019/05/17 11:02:37 #033[1;36m[T] AppWorkPath: /home/git/#033[0m
May 17 11:02:37 [host] gitea[4001]: 2019/05/17 11:02:37 #033[1;36m[T] Custom path: /home/git/custom#033[0m
May 17 11:02:37 [host] gitea[4001]: 2019/05/17 11:02:37 #033[1;36m[T] Log path: /home/git/log#033[0m
May 17 11:02:37 [host] systemd[1]: gitea.service: Main process exited, code=exited, status=1/FAILURE
May 17 11:02:37 [host] systemd[1]: gitea.service: Failed with result 'exit-code'.

I also configured the app.ini correctly and set up the log directory to /home/git/log, unfortunately the directory stays empty.

I hope someone can help me with this issue.

I am able to provide more information about the configuration files, if needed.

Thanks a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailissue/stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions