This commit is contained in:
Maciej Sobkowiak 2022-01-04 22:57:43 +01:00
parent 66721faad1
commit 348852a076
2 changed files with 11 additions and 1 deletions

View File

@ -2,5 +2,6 @@
runcmd: runcmd:
- cd /home - cd /home
- git clone https://git.wmi.amu.edu.pl/s434784/04_Public_cloud - git clone https://git.wmi.amu.edu.pl/s434784/04_Public_cloud
- chmod -x /04_Public_cloud/webservice - cd /home/04_Public_cloud/
- chmod -x webservice
- bash /home/04_Public_cloud/webservice - bash /home/04_Public_cloud/webservice

9
webservice.service Normal file
View File

@ -0,0 +1,9 @@
[Unit]
Description=web service
After=network-online.target
[Service]
ExecStart=/home/04_Public_cloud/webservice
[Install]
WantedBy=multi-user.target