diff options
author | crate | 2015-06-29 12:36:18 +0000 |
---|---|---|
committer | crate | 2015-06-29 12:36:18 +0000 |
commit | b3bcf942e1e31034c67cd1982fe6a16cc91fbf15 (patch) | |
tree | 67a0c2d3a02e8fe70b99bdfd929e6c591d41a15f /crate.service | |
download | aur-b3bcf942e1e31034c67cd1982fe6a16cc91fbf15.tar.gz |
Initial import
Diffstat (limited to 'crate.service')
-rw-r--r-- | crate.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crate.service b/crate.service new file mode 100644 index 000000000000..c7db95112b0e --- /dev/null +++ b/crate.service @@ -0,0 +1,12 @@ +[Unit] +Description=Crate +After=network.target + +[Service] +User=crate +ExecStart=/usr/share/crate/bin/crate -Des.path.conf=/etc/crate -Des.config=/etc/crate/crate.yml -Des.path.home=/usr/share/crate -Des.path.logs=/var/log/crate -Des.path.work=/var/lib/crate +Environment=CRATE_MIN_MEM=256m +Environment=CRATE_MAX_MEM=1g + +[Install] +WantedBy=multi-user.target |