mirror of
https://gitlab.com/packaging/gitea
synced 2025-09-11 14:34:44 +00:00
fix systemd unit
This commit is contained in:
16
package_scripts/gitea.service
Normal file
16
package_scripts/gitea.service
Normal file
@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Gitea (Git with a cup of tea)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
RestartSec=2s
|
||||
Type=simple
|
||||
User=gitea
|
||||
Group=gitea
|
||||
WorkingDirectory=/var/lib/gitea/
|
||||
ExecStart=/usr/bin/gitea web -c /etc/gitea/app.ini
|
||||
Restart=always
|
||||
EnvironmentFile=/etc/default/gitea
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user