Differences

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

Link to this comparison view

Both sides previous revision Previous revision
archipelago:canta_up41 [2019/04/02 08:45]
giancarlo
archipelago:canta_up41 [2019/04/02 08:47] (current)
giancarlo
Line 235: Line 235:
 --- ---
 > log.access.RollingFileAppender.TimeBasedRollingPolicy.filename_pattern = /​srv/​log/​access-%d{yyyy-MM-dd}.log > log.access.RollingFileAppender.TimeBasedRollingPolicy.filename_pattern = /​srv/​log/​access-%d{yyyy-MM-dd}.log
 +</​code>​
 +</​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.1/​cantaloupe.properties -Xmx12g -jar /​opt/​cantaloupe-4.1/​cantaloupe-4.1.war
 +ExecStop=/​usr/​bin/​killall -9 cantaloupe-4.1.war
 +Restart=on-failure
 +
 +[Install]
 +WantedBy=multi-user.target
  
 </​code>​ </​code>​
 </​WRAP>​ </​WRAP>​
 +<WRAP prewrap center>
 +<​code>​
 +systemctl daemon-reload
 +systemctl enable cantaloupe.service
  
 +service cantaloupe start
 +</​code>​
 +</​WRAP>​
  
  
 
 
archipelago/canta_up41.txt ยท Last modified: 2019/04/02 08:47 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