summaryrefslogtreecommitdiffstats
path: root/www/resin3/files/pkg-message.in
blob: e69547c04df793116dc72582331532b5159cdeb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Resin is now installed in %%APP_HOME%%

You may want to activate it in /etc/rc.conf:

%%APP_NAME%%_enable="YES"

Then start it:

env - %%PREFIX%%/etc/rc.d/%%APP_NAME%%.sh start

For this control script to run seamlessly, it is recommended to increase the
maximum length of commands displayed by ps(1).  Please append the following
setting to /etc/sysctl.conf:

  # Do not truncate command line arguments in ps(1) listing
  kern.ps_arg_cache_limit=10000

This setting will take effect at next reboot, however it is possible to have
immediate effect with the following command as root:

  # sysctl kern.ps_arg_cache_limit=10000

If you wish to skip this setting, please note that the `stop', `restart' and
`status' will not function properly with %%APP_NAME%%.sh.

Once Resin is started, point your web browser to the default home page at
http://localhost:%%PORT%%/ to read the documentation and test the samples.

Resin configuration is located at %%PREFIX%%/etc/%%APP_NAME%%/resin.xml


Enjoy!

--------------------------------------------------------------------------------
ADVANCED USAGE

If you need to pass special options to Java, please set the
%%APP_NAME%%_flags option in /etc/rc.conf, see examples below:

  # Prevent Java from opening an X11 display
  %%APP_NAME%%_flags="-Djava.awt.headless=true"

  # Increase memory limit of the Java virtual machine
  %%APP_NAME%%_flags="-Xms32mĀ -Xmx256m"

  # Run Java with remote debugging turned on
  %%APP_NAME%%_flags="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n"
OpenPOWER on IntegriCloud