mirror of
https://github.com/archlinux/aur.git
synced 2026-02-09 14:34:42 +01:00
24 lines
561 B
Text
24 lines
561 B
Text
[Unit]
|
|
Description=Web based code review and project management for Git based projects
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=gerrit
|
|
EnvironmentFile=/etc/default/gerritcodereview
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=gerrit
|
|
ExecStart=@/usr/bin/java gerrit -DGerritCodeReview=1 $JAVA_OPTIONS -jar $GERRIT_WAR daemon -d $GERRIT_SITE --console-log
|
|
#MemoryLimit=768M
|
|
OOMScoreAdjust=-1000
|
|
LimitCPU=infinity
|
|
LimitFSIZE=infinity
|
|
LimitDATA=infinity
|
|
LimitCORE=0
|
|
LimitAS=infinity
|
|
LimitLOCKS=infinity
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|