Initial commit

This commit is contained in:
Pin
2022-04-20 22:57:21 -04:00
commit c80371138a
13 changed files with 279 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
[Unit]
Description=Docker DVWA Hardened Service
Requires=docker.service
After=docker.service
[Service]
Restart=always
User=root
Group=docker
WorkingDirectory=/opt/dvwa-docker
ExecStartPre={{ dockercompose_location }} -f docker-compose.yml down
ExecStart={{ dockercompose_location }} -f docker-compose.yml up
ExecStop={{ dockercompose_location }} -f docker-compose.yml down
[Install]
WantedBy=multi-user.target