mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-01 15:07:17 +08:00
add logger rpm build scripts
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
region = 'LocalTest'
|
||||
port = 9999
|
||||
auth_uri = 'http://10.16.22.51:35357/v2.0'
|
||||
admin_user = 'logadmin'
|
||||
admin_password = 'password0'
|
||||
admin_tenant_name = 'system'
|
||||
sql_connection = 'mysql+pymysql://yunionlogger:password0@10.16.22.51:3306/yunionlogger?charset=utf8'
|
||||
|
||||
auto_sync_table = True
|
||||
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=Yunion Cloud Image Service
|
||||
Documentation=http://doc.yunionyun.com
|
||||
After=network.target httpd.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=yunion
|
||||
Group=yunion
|
||||
ExecStart=/opt/yunion/bin/logger --config /etc/yunion/log.conf
|
||||
WorkingDirectory=/opt/yunion
|
||||
KillMode=process
|
||||
Restart=always
|
||||
RestartSec=30
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1 @@
|
||||
DESCRIPTION="Yunion Cloud Log Service"
|
||||
Reference in New Issue
Block a user