OCIS Installation questions

Hi,
I have some small questions for testing the OCIS preview:

  1. how can I operate the ocis server stack permanently through systemd service file?

  2. how can I add https connection? On our dev server we have a haproxy server in front, acting as a ssl terminator (incoming requests are identified by DNS name, the correct https headers and letsencrypt cryptography is added. The unencrypted traffic is connected to the server, in the case of ocis to port localhost:9200

We don’t have an example for running oCIS as systemd service yet. But a user on talk.owncloud.com wrote sometime ago about one: ownCloud Talk

It looks like this:

/etc/systemd/system/ocis.service

```[Unit]
Description=OCIS server
After=syslog.target

[Service]
Type=simple
User=root
Group=root
WorkingDirectory=/var/run/ocis
EnvironmentFile=/etc/ocis/ocis.env
ExecStart=/usr/local/bin/ocis server
LimitNOFILE=49152
Restart=always
StandardOutput=append:/var/log/ocis/ocis.log
StandardError=append:/var/log/ocis/ocis.error.log

[Install]
WantedBy=multi-user.target

Is your question regarding the connection already answered in OCIS preview with ssl accelerator in front - #2 by wkloucek ?

1 Like