diff --git a/states/dip/defaults.yaml b/states/dip/defaults.yaml index 7d48d63..efe112f 100644 --- a/states/dip/defaults.yaml +++ b/states/dip/defaults.yaml @@ -3,7 +3,7 @@ dip: enabled: true install_dir: /usr/local/apps release_dir: /usr/local/apps/releases - host: 127.0.0.1 + host: "[::]" port: 8989 mirror: https://git.paulbsd.com/paulbsd/dip/releases/download version: 1.0.0 diff --git a/states/dip/dip.service.j2 b/states/dip/dip.service.j2 index f5f6c67..a31c0cb 100644 --- a/states/dip/dip.service.j2 +++ b/states/dip/dip.service.j2 @@ -6,7 +6,8 @@ After=network.target [Service] Type=simple -ExecStart={{ dip.install_dir }}/dip/dip -host {{ dip.host }} -port {{ dip.port }} +WorkingDirectory={{ dip.install_dir }}/dip +ExecStart={{ dip.install_dir }}/dip/dip -host "{{ dip.host }}" -port {{ dip.port }} [Install] WantedBy=multi-user.target \ No newline at end of file