Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
|
Next revision
Both sides next revision
|
reloaded:is_cantsa [2018/06/08 10:40] giancarlo |
reloaded:is_cantsa [2018/07/26 13:56] giancarlo |
</code> | </code> |
</WRAP> | </WRAP> |
* Startup command | * Startup command (replaced by start as service) |
<WRAP prewrap center> | <WRAP prewrap center> |
<code> | <code> |
</code> | </code> |
</WRAP> | </WRAP> |
| * Start as service |
| <WRAP prewrap center> |
| <code> |
| nano -w /etc/systemd/system/cantaloupe.service |
| </code> |
| </WRAP> |
| <WRAP prewrap center> |
| <code> |
| [Unit] |
| Description=Cantaloupe Image Server |
| |
| [Service] |
| Type=simple |
| User=cantaloupe |
| ExecStart=/usr/bin/java -Dcantaloupe.config=/opt/cantaloupe-4.0/cantaloupe.properties -Xmx12g -jar /opt/cantaloupe-4.0/cantaloupe-4.0.war |
| ExecStop=/usr/bin/killall -9 cantaloupe-4.0.war |
| Restart=on-failure |
| |
| [Install] |
| WantedBy=multi-user.target |
| |
| </code> |
| </WRAP> |
| <WRAP prewrap center> |
| <code> |
| systemctl daemon-reload |
| systemctl enable cantaloupe.service |
| |
| service cantaloupe start |
| </code> |
| </WRAP> |
| |
| |
| |
| |