system/systemd/gitea.service
Georg 3d1dead13b
Initial Systemd Service Run: 2/3
Signed-off-by: Georg <georg@lysergic.dev>
2021-07-21 12:47:30 +02:00

22 lines
408 B
Desktop File

[Unit]
Description=Gitea (Git with a cup of tea)
After=syslog.target
After=network.target
Wants=mysqld.service
After=mysqld.service
[Service]
RestartSec=2s
Type=simple
User=git
Group=git
WorkingDirectory=/var/lib/gitea/
ExecStart=/usr/local/bin/gitea web --config /etc/gitea/app.ini
Restart=always
Environment=USER=git HOME=/var/lib/git GITEA_WORK_DIR=/var/lib/gitea
[Install]
WantedBy=multi-user.target