Gitea
This commit is contained in:
parent
9b716baf78
commit
5cdb3e5c40
14 changed files with 341 additions and 6 deletions
26
alpine/gitea/systemd/gitea.service
Normal file
26
alpine/gitea/systemd/gitea.service
Normal file
|
@ -0,0 +1,26 @@
|
|||
[Unit]
|
||||
Description=Gitea (Git with a cup of tea)
|
||||
After=network.target
|
||||
#Requires=mysql.service
|
||||
#Requires=mariadb.service
|
||||
#Requires=postgresql.service
|
||||
#Requires=memcached.service
|
||||
#Requires=redis.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=gitea
|
||||
Group=www-data
|
||||
|
||||
Environment=USER=gitea HOME=/var/lib/gitea GITEA_WORK_DIR=/var/lib/gitea
|
||||
WorkingDirectory=/var/lib/gitea
|
||||
|
||||
ExecStart=/bin/ls -al /etc/gitea/
|
||||
#ExecStart=/usr/bin/gitea web -c /etc/gitea/app.ini
|
||||
|
||||
RuntimeDirectory=gitea
|
||||
StateDirectory=gitea
|
||||
ConfigurationDirectory=gitea
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue