Skip to content

Commit

Permalink
ref: subspacecommunity/subspace#208, temporarily override /etc/servic…
Browse files Browse the repository at this point in the history
…e/dnsmasq/run until new release
  • Loading branch information
hbjlee17 committed Sep 15, 2023
1 parent 3551883 commit 00cd6b2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cloud-config
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ write_files:
volumes:
- /opt/docker/subspace:/data
- /opt/docker/dnsmasq:/etc/dnsmasq.d
- /root/subspace/dnsmasq-exec-override:/etc/service/dnsmasq/run
restart: always
environment:
- SUBSPACE_HTTP_HOST=[HOSTNAME]
Expand All @@ -40,6 +41,13 @@ write_files:
owner: root
permissions: '0644'
defer: true
- path: /root/subspace/dnsmasq-exec-override
content: |
#!/bin/sh
exec /usr/sbin/dnsmasq --keep-in-foreground
owner: root
permissions: '0755'
defer: true
runcmd:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
- add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
Expand Down

0 comments on commit 00cd6b2

Please sign in to comment.