.
This commit is contained in:
parent
66721faad1
commit
348852a076
@ -2,5 +2,6 @@
|
||||
runcmd:
|
||||
- cd /home
|
||||
- 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
|
||||
|
9
webservice.service
Normal file
9
webservice.service
Normal 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
|
Loading…
Reference in New Issue
Block a user