Last active
February 9, 2020 02:35
-
-
Save uu59/23968e3983adcf5b4cce400710b51cb2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=digdag | |
[Service] | |
User=uu59 | |
Restart=always | |
TimeoutStartSec=30s | |
Type=simple | |
ExecStart=/home/uu59/digdag-server/start.bash | |
[Install] | |
WantedBy=multi-user.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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