Gitea
This commit is contained in:
parent
9b716baf78
commit
5cdb3e5c40
14 changed files with 341 additions and 6 deletions
12
alpine/rust/systemd/cgit.service
Normal file
12
alpine/rust/systemd/cgit.service
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=cgit uwsgi service
|
||||
After=network.target
|
||||
Before=nginx.service
|
||||
Requires=cgit.socket
|
||||
|
||||
[Service]
|
||||
DynamicUser=yes
|
||||
User=git
|
||||
Group=git
|
||||
RuntimeDirectory=git
|
||||
ConfigurationDirectory=git
|
10
alpine/rust/systemd/cgit.socket
Normal file
10
alpine/rust/systemd/cgit.socket
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=cgit socket
|
||||
|
||||
[Socket]
|
||||
ListenStream=/run/git/cgit.sock
|
||||
SocketMode=0660
|
||||
SocketGroup=http
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
Loading…
Add table
Add a link
Reference in a new issue