diff options
author | http://joeyh.name/ <joey@web> | 2013-05-13 18:49:25 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2013-05-13 18:49:25 +0000 |
commit | 3d65155a95d61249935023d00eb30b882b952dfa (patch) | |
tree | 64b748e52c0f8c557208de6393b73f6a9a49d3bc | |
parent | 9b2b48d369860f92714f58882d5686142ed44347 (diff) |
Added a comment
-rw-r--r-- | doc/forum/webapp_listen_port_with_autostart/comment_1_65dbcf3d8f6c16568f5a326242eab9c5._comment | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/forum/webapp_listen_port_with_autostart/comment_1_65dbcf3d8f6c16568f5a326242eab9c5._comment b/doc/forum/webapp_listen_port_with_autostart/comment_1_65dbcf3d8f6c16568f5a326242eab9c5._comment new file mode 100644 index 000000000..891081e22 --- /dev/null +++ b/doc/forum/webapp_listen_port_with_autostart/comment_1_65dbcf3d8f6c16568f5a326242eab9c5._comment @@ -0,0 +1,20 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + nickname="joey" + subject="comment 1" + date="2013-05-13T18:49:25Z" + content=""" +Well, it would be possible to add a configuration setting in the repository that tells the assistant what address:port to listen on. + +But maybe it would be better to not use `assistant --autostart` in your situation? That command is basically the same as this shell script: + +[[!format sh \"\"\" +#!/bin/sh +for dir in $(cat $HOME/.config/git-annex/autostart); do + cd $dir + git annex webapp & +done +\"\"]] + +So you can write similar shell scripts that start the webapp with whatever options you like. +"""]] |