diff --git a/build/aliyuncli/vars b/build/aliyuncli/vars new file mode 100644 index 0000000000..e86e9a7d1e --- /dev/null +++ b/build/aliyuncli/vars @@ -0,0 +1 @@ +DESCRIPTION="ALIYUN Command Line Utility" diff --git a/build/region/root/opt/yunion/share/region/yunion-region2.service b/build/region/root/opt/yunion/share/region/yunion-region2.service new file mode 100644 index 0000000000..4f4a306f17 --- /dev/null +++ b/build/region/root/opt/yunion/share/region/yunion-region2.service @@ -0,0 +1,17 @@ +[Unit] +Description=Yunion Cloud Region Controller Service +Documentation=http://doc.yunionyun.com +After=network.target httpd.service yunion-glance-registry.service yunion-glance-api.service yunion-glance-scrubber.service + +[Service] +Type=simple +User=yunion +Group=yunion +ExecStart=/opt/yunion/bin/region --config /etc/yunion/region.conf +WorkingDirectory=/opt/yunion +KillMode=process +Restart=always +RestartSec=30 + +[Install] +WantedBy=multi-user.target diff --git a/build/region/vars b/build/region/vars new file mode 100644 index 0000000000..ba03f8f518 --- /dev/null +++ b/build/region/vars @@ -0,0 +1,2 @@ +DESCRIPTION="Yunion Cloud Region Controller Service" +# SERVICE="yes" diff --git a/build/scheduler/root/opt/yunion/share/scheduler/yunion-scheduler.service b/build/scheduler/root/opt/yunion/share/scheduler/yunion-scheduler.service new file mode 100644 index 0000000000..fc89551131 --- /dev/null +++ b/build/scheduler/root/opt/yunion/share/scheduler/yunion-scheduler.service @@ -0,0 +1,17 @@ +[Unit] +Description=Yunion Cloud Region Scheduler Service +Documentation=http://doc.yunionyun.com +After=network.target httpd.service yunion-glance-registry.service yunion-glance-api.service yunion-glance-scrubber.service yunion-region.service yunion-region-dns.service + +[Service] +Type=simple +User=yunion +Group=yunion +ExecStart=/opt/yunion/bin/scheduler --config /etc/yunion/region.conf +WorkingDirectory=/opt/yunion +KillMode=process +Restart=always +RestartSec=30 + +[Install] +WantedBy=multi-user.target diff --git a/build/scheduler/vars b/build/scheduler/vars new file mode 100644 index 0000000000..41c46860b8 --- /dev/null +++ b/build/scheduler/vars @@ -0,0 +1,2 @@ +DESCRIPTION="Yunion Cloud Region Scheduler Service" +# SERVICE="yes"