modified gitignore
This commit is contained in:
19
amd64/etc/systemd/system/gitea.service
Normal file
19
amd64/etc/systemd/system/gitea.service
Normal file
@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Gitea (Git with a cup of tea)
|
||||
After=syslog.target
|
||||
After=network.target
|
||||
Requires=mariadb.service
|
||||
|
||||
[Service]
|
||||
RestartSec=2s
|
||||
Type=simple
|
||||
User=gitea
|
||||
Group=gitea
|
||||
WorkingDirectory=/opt/gitea/
|
||||
ExecStart=/opt/gitea/bin/gitea web --config /etc/gitea/app.ini
|
||||
Restart=always
|
||||
Environment="GITEA_WORK_DIR=/opt/gitea/gitea"
|
||||
Environment="GITEA_CUSTOM=/opt/gitea/custom"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user