]> git.evergreen-ils.org Git - OpenSRF.git/blob - examples/websocketd-osrf.service.example
LP1999823: Bump libtool library version
[OpenSRF.git] / examples / websocketd-osrf.service.example
1 [Unit]
2 Description=Websocketd OpenSRF Gateway
3
4 [Service]
5 Type=simple
6 User=opensrf
7 Group=opensrf
8 Environment=PATH=/openils/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
9 Environment=LD_LIBRARY_PATH=/openils/lib:/usr/local/lib:/usr/local/lib/dbd:$LD_LIBRARY_PATH
10 ExecStart=/usr/local/bin/websocketd --loglevel error --maxforks 250 --port 7682 /openils/bin/osrf-websocket-stdio
11
12 # modify websocketd command line options to taste
13 # --sameorigin and --origin=domain1,domain2 flags are also supported for security.
14
15 # On Ubuntu 18.04+, you may also need to include something like this:
16 [Install]
17 WantedBy=multi-user.target