File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 99 become : yes
1010 become_user : root
1111 file :
12- path : /logs
12+ path : /var/log/clojars
1313 state : directory
1414 mode : 0755
1515 owner : clojars
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Restart=on-failure
99WorkingDirectory=/home/clojars
1010Environment="CLOJARS_EXTRA_CONFIG=data/conf/production_config.edn"
1111
12- ExecStart=/bin/java -Dnla.node=clojars -Xmx512m -server "-XX:OnOutOfMemoryError=kill -9 %p" -cp releases/clojars-web-current.jar clojars.main 2>&1 | /sbin/cronolog -S /logs/clojars.log /logs/%Y%m/clojars.%Y-%m-%d.log
12+ ExecStart=/bin/java -Dnla.node=clojars -Dlog.level=INFO -Dlog.dir=/var/log/clojars - Xmx512m -server "-XX:OnOutOfMemoryError=kill -9 %p" -cp releases/clojars-web-current.jar clojars.main
1313
1414[Install]
1515WantedBy=multi-user.target
Original file line number Diff line number Diff line change 11al2_packages :
2- - cronolog
32 - htop
43 - mosh
54 - nginx
You can’t perform that action at this time.
0 commit comments