@@ 24,8 24,8 @@ server.
Then, you need to clone the damn deploy repository:
```
-git clone https://gitlab.com/damn-project/damn_deploy.git
-cd damn_deploy
+git clone https://gitlab.com/damn-project/damn-deploy.git
+cd damn-deploy
```
The most common usecase is *autostart server and clients*. The following
@@ 122,7 122,7 @@ In addition to *Server setup*, you may want to run a chat server.
Autostart with `systemd`
------------------------
-I assume that the damn deploy repository is cloned to `/root/damn_deploy/`.
+I assume that the damn deploy repository is cloned to `/root/damn-deploy/`.
1. Create systemd unit for `docker-compose`:
@@ 134,16 134,16 @@ I assume that the damn deploy repository is cloned to `/root/damn_deploy/`.
[Service]
Type=simple
- WorkingDirectory=/root/damn_deploy
- ExecStart=/usr/bin/docker-compose -f /root/damn_deploy/server.yml -f /root/damn_deploy/clients.yml up
- ExecStop=/usr/bin/docker-compose -f /root/damn_deploy/server.yml -f /root/damn_deploy/clients.yml down
+ WorkingDirectory=/root/damn-deploy
+ ExecStart=/usr/bin/docker-compose -f /root/damn-deploy/server.yml -f /root/damn-deploy/clients.yml up
+ ExecStop=/usr/bin/docker-compose -f /root/damn-deploy/server.yml -f /root/damn-deploy/clients.yml down
[Install]
WantedBy=multi-user.target
EOF
```
- Remove ` -f /root/damn_deploy/clients.yml` when running server only.
+ Remove ` -f /root/damn-deploy/clients.yml` when running server only.
2. Enable and run damn service:
@@ 283,8 283,8 @@ hours.
Description=Run damn upkeep
[Service]
- WorkingDirectory=/root/damn_deploy
- ExecStart=/usr/bin/docker-compose -f /root/damn_deploy/server.yml run --rm upkeep
+ WorkingDirectory=/root/damn-deploy
+ ExecStart=/usr/bin/docker-compose -f /root/damn-deploy/server.yml run --rm upkeep
EOF
cat << EOF >> /etc/systemd/system/damn_upkeep.timer
[Unit]