aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/webapp_listen_port_with_autostart/comment_1_65dbcf3d8f6c16568f5a326242eab9c5._comment
blob: 0c430cf7c61b0d58a8e0c0377c328254b3062e92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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.
"""]]