:default => "simple",
:is => %w[simple forking oneshot dbus notify idle]
property :limit_nofile, Integer
+property :memory_low, [Integer, String]
+property :memory_high, [Integer, String]
+property :memory_max, [Integer, String]
property :environment, Hash, :default => {}
property :environment_file, [String, Hash]
property :user, String
<% if @limit_nofile -%>
LimitNOFILE=<%= @limit_nofile %>
<% end -%>
+<% if @memory_low -%>
+MemoryLow=<%= @memory_low %>
+<% end -%>
+<% if @memory_high -%>
+MemoryHigh=<%= @memory_high %>
+<% end -%>
+<% if @memory_max -%>
+MemoryMax=<%= @memory_max %>
+<% end -%>
<% @environment.each do |name,value| -%>
Environment="<%= name %>=<%= value %>"
<% end -%>