-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Copyright (c) 2015 National ICT Australia Limited (NICTA). | ||
# This software may be used and distributed solely under the terms of the MIT license (License). | ||
# You should find a copy of the License in LICENSE.TXT or at http://opensource.org/licenses/MIT. | ||
# By downloading or using this software you accept the terms and the liability disclaimer in the License. | ||
|
||
# This is a simple OMF6 Application Definition for the lighttpd web server | ||
# | ||
|
||
defApplication('lighttpd') do |app| | ||
app.quiet = true | ||
app.binary_path = "/etc/init.d/lighttpd stop ; /usr/sbin/lighttpd" | ||
app.description = "The lighttpd web server" | ||
app.defProperty( | ||
"foreground", | ||
"Set to true to run in foreground", | ||
"-D", | ||
:type => :boolean, :dynamic => false, :mandatory => true, :default => true) | ||
app.defProperty( | ||
"config", | ||
"Path to the config file to use", | ||
"-f", | ||
:type => :string, :dynamic => false, :mandatory => true, :default => '/etc/lighttpd/lighttpd.conf') | ||
end |