sbt/sbt-native-packager — pull request #176 by muuki88 (2014-02-28 12:03:32+00:00)
Title: Wip/rpm server archetype

Fixing #149
This PR is based on PR #174 to minimize merging overhead.

# What has be done

- Added linuxSettings for server archetype
- Added pid folder in server archetype
- Refactored JavaStartScript class/object
- Tested with CentOS 6.5
- Added `exec` to `bash-script` again for correct PID handling

# More details

After installing the rpm with

```bash
sudo rpm -Uvh your-app.noarch.rpm
```
you access the service with

```bash
sudo service your-app start
sudo service your-app status
sudo service your-app stop
sudo service your-app restart
```

# TODO

- The correct users for the `daemonUser` and `daemonGroup` are not created. Root is used a fallback by rpm
- The service is not autostarted after installation
- `Upstart` doesn't work (just copied the debian configuration, but no luck)