aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/assistant_ignores_foreground_switch.mdwn
blob: b4e50ddba213e7fb29451e42b148627640027ec2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
### Please describe the problem.

git annex assistant ignores the --foreground switch:

```
florian@marduk ~ % /usr/bin/git-annex assistant --foreground --autostart        
git-annex autostart in /home/florian/.synced_configuration
ok
florian@marduk ~ % 
```

The assistant ist started, but forks to background. This also breaks the systemd unit from https://git-annex.branchable.com/tips/Systemd_unit/ (add Type=forking to the service works around that)

It seems to be connected to the autostart option, without --autostart it does not go background.

### What steps will reproduce the problem?


### What version of git-annex are you using? On what operating system?

6.20170101-15 at Arch.

### Please provide any additional information below.

[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log


# End of transcript or log.
"""]]

### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)

> Made it support this combination of switches. [[done]] --[[Joey]]