~qeef/damn-deploy

cd5386201966f01d0304782f55ed9484c32f85db — Jiri Vlasak 3 months ago 7f8c805
Overwrite systemd config files if exists
1 files changed, 3 insertions(+), 3 deletions(-)

M README.md
M README.md => README.md +3 -3
@@ 122,7 122,7 @@ I assume that the damn deploy repository is cloned to `/root/damn-deploy/`.

1. Create systemd unit for `docker-compose`:

       cat << EOF >> /etc/systemd/system/damn.service
       cat << EOF > /etc/systemd/system/damn.service
       [Unit]
       Description=Damn server app
       After=network.target docker.service


@@ 243,7 243,7 @@ hours.

1. Create systemd unit and timer for damn upkeep:

       cat << EOF >> /etc/systemd/system/damn_upkeep.service
       cat << EOF > /etc/systemd/system/damn_upkeep.service
       [Unit]
       Description=Run damn upkeep



@@ 251,7 251,7 @@ hours.
       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
       cat << EOF > /etc/systemd/system/damn_upkeep.timer
       [Unit]
       Description=Run damn upkeep every 15 minutes