DPZC/cloud_init.yaml

7 lines
242 B
YAML

#cloud-config
runcmd:
- cd /home
- git clone https://git.wmi.amu.edu.pl/s434742/DPZC
- chmod +x /home/DPZC/webservice
- cp /home/DPZC/webservice.service /etc/systemd/system/webservice.service
- systemctl start webservice