Disks Service
This commit is contained in:
parent
271007044a
commit
7f5b5209a1
10 changed files with 256 additions and 0 deletions
59
docs/backend/disks.md
Normal file
59
docs/backend/disks.md
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
# Disks
|
||||
|
||||
``` bash
|
||||
cd /opt/instant-workstation/backend/disks
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
=== "Fedora"
|
||||
|
||||
``` bash
|
||||
sudo dnf install python qemu-img
|
||||
```
|
||||
|
||||
=== "Ubuntu"
|
||||
|
||||
``` bash
|
||||
sudo apt install python-is-python3 qemu-utils
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo ln -s /opt/instant-workstation/infrastructure/systemd/disks.service /etc/systemd/system/.
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl daemon-reload
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl enable disks
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl start disks
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl status disks
|
||||
```
|
||||
|
||||
## Updates
|
||||
|
||||
### Service
|
||||
|
||||
``` bash
|
||||
git pull
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl daemon-reload
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl restart disks
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl status disks
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue