# 用systemctl start gitea 启动不了git

**URL:** https://forum.gitea.com/t/systemctl-start-gitea-git/8857
**Category:** 中文求助(Chinese Only)
**Created:** [March 28, 2024, 6:00am UTC](https://forum.gitea.com/t/systemctl-start-gitea-git/8857 "2024-03-28T06:00:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![zxh](https://avatars.discourse-cdn.com/v4/letter/z/8491ac/32.png) [@zxh](https://forum.gitea.com/u/zxh)
#### Post date: [March 28, 2024, 6:00am UTC](https://forum.gitea.com/t/systemctl-start-gitea-git/8857/1 "2024-03-28T06:00:43Z")

</div>

Expect user ‘git’ but current user is: root

---

<div class="post-metadata">

### Author: ![mosquito520](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/mosquito520/32/4531_2.png) [@mosquito520](https://forum.gitea.com/u/mosquito520)
#### Post date: [March 30, 2024, 10:15am UTC](https://forum.gitea.com/t/systemctl-start-gitea-git/8857/2 "2024-03-30T10:15:25Z")

</div>

> <https://askubuntu.com/questions/676007/how-do-i-make-my-systemd-service-run-via-specific-user-and-start-on-boot>
