I'm not sure if both startup system _have to_ work with the same `/etc/default`. It would be nice, however IMHO there is no case where you have the same application installed with the same _config_ and two different startsystems.

So in the end your config file looks different for different start systems, which I think is fine. Still the SystemV script has a lot of hardcoded stuff

### Upstart

```bash
# if configuration files exist, prepend their contents to $@ 
# so it can be processed by this runner
[[ -f "$script_conf_file" ]] && set -- $(loadConfigFile "$script_conf_file") "$@"
```

Doesn't rely on environment variables.

### SystemV

```bash
test -e /etc/default/${{app_name}} && source /etc/default/${{app_name}}
```

Relies on environment variables and isn't able to set **Java_Opts**