Aws
This commit is contained in:
parent
348852a076
commit
fdd68299db
@ -2,6 +2,6 @@
|
||||
runcmd:
|
||||
- cd /home
|
||||
- git clone https://git.wmi.amu.edu.pl/s434784/04_Public_cloud
|
||||
- cd /home/04_Public_cloud/
|
||||
- chmod -x webservice
|
||||
- bash /home/04_Public_cloud/webservice
|
||||
- chmod +x /home/04_Public_cloud/webservice
|
||||
- cp /home/04_Public_cloud/webservice.service /etc/systemd/system/webservice.service
|
||||
- systemctl start webservice
|
||||
|
9
aws.yml
Normal file
9
aws.yml
Normal file
@ -0,0 +1,9 @@
|
||||
#cloud-config
|
||||
packages:
|
||||
- git
|
||||
runcmd:
|
||||
- cd /home
|
||||
- git clone https://git.wmi.amu.edu.pl/s434784/04_Public_cloud
|
||||
- chmod +x /home/04_Public_cloud/webservice
|
||||
- cp /home/04_Public_cloud/webservice.service /etc/systemd/system/webservice.service
|
||||
- systemctl start webservice
|
Loading…
Reference in New Issue
Block a user