-
-
Save riywo/1532485 to your computer and use it in GitHub Desktop.
daemontoolsのrunでperlbrewのbashrc使う
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
#!/bin/sh | |
exec 2>&1 | |
export HOME=/home/riywo | |
cd /home/riywo/MyApp | |
exec setuidgid riywo ./script/start.sh |
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
#!/bin/sh | |
source /home/riywo/perl5/perlbrew/etc/bashrc | |
carton exec plackup -- -r -s Starman --workers 10 -a app.psgi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment