Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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
Line 516: Line 516:
 </code> </code>
 </WRAP> </WRAP>
-  * Startup command+  * Startup command (replaced by start as service)
 <WRAP prewrap center> <WRAP prewrap center>
 <code> <code>
Line 524: Line 524:
 </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>
 +
 +
 +
 +
 
 
reloaded/is_cantsa.txt ยท Last modified: 2019/01/15 19:49 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
DigiBess is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki