refactor(samples/httpaste.it): finalize initial sample
- add tor daemon - clean directory structure
This commit is contained in:
parent
d558a65609
commit
60a01ea511
7 changed files with 49 additions and 2 deletions
17
samples/httpaste.it/httpaste.service
Normal file
17
samples/httpaste.it/httpaste.service
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
|
||||
[Unit]
|
||||
Description=httpaste (via Docker Compose)
|
||||
Requires=docker.service
|
||||
After=docker.service
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/usr/local/src/httpaste/samples/httpaste.it
|
||||
ExecStart=docker-compose up
|
||||
ExecStop=docker-compose down
|
||||
TimeoutStartSec=0
|
||||
Restart=on-failure
|
||||
StartLimitIntervalSec=60
|
||||
StartLimitBurst=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue