将scripts/systemd/gogs.service文件复制到/lib/systemd/system。默认配置:[Unit]Description=GogsAfter=syslog.targetAfter=network.targetAfter=mariadb.servicemysqld.servicepostgresql.servicememcached.serviceredis.serv