Create a gist now

Instantly share code, notes, and snippets.

@uu59 /digdag.service
Last active Jul 10, 2017

What would you like to do?
[Unit]
Description=digdag
[Service]
User=uu59
Restart=always
TimeoutStartSec=30s
Type=simple
ExecStart=/home/uu59/digdag-server/start.bash
[Install]
WantedBy=multi-user.target
#!/usr/bin/env bash
set -ue
set -x
exec >> /tmp/digdag.log
exec 2>&1
export PATH="/home/uu59/.rbenv/shims:$PATH"
which -a java
which -a ruby
exec /usr/local/bin/digdag server -o /home/uu59/digdag-server/ -O /home/uu59/digdag-server/log -A /home/uu59/digdag-server/log -c /home/uu59/digdag-server/config.properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment