Files
SCM-Manager/docs/daemons.md

34 lines
879 B
Markdown
Raw Normal View History

2020-03-31 17:28:30 +02:00
# Unix Daemons and Windows Services
2020-03-09 08:01:43 +01:00
2020-03-31 17:28:30 +02:00
**Note**: If you are using a 64Bit operating system you should use a 64Bit JavaVirtualMachine as well
([#74](https://github.com/scm-manager/scm-manager/issues/74) or
[rOL1nJ9DnfI](https://groups.google.com/forum/?fromgroups#!topic/scmmanager/rOL1nJ9DnfI "Can't start scm windows service")).
2020-03-09 08:01:43 +01:00
### Unix Daemons
2020-03-31 17:28:30 +02:00
You could run scm-server in background as unix daemon with one simple command:
```bash
scm-server start
```
2020-03-09 08:01:43 +01:00
If you would like to stop the running daemon instance just call:
2020-03-31 17:28:30 +02:00
```bash
scm-server stop
```
2020-03-09 08:01:43 +01:00
### Windows Services
2020-03-31 17:28:30 +02:00
Register scm-server as Windows service open a console (cmd) as Administrator and execute the following command:
```bash
scm-server.bat install
```
The service is no available in the service control center. You could uninstall the service with the command below:
```bash
scm-server.bat uninstall
```