* Fix indentation.
svn path=/nixos/branches/upstart-0.6/; revision=18186
This commit is contained in:
parent
194a24bcf1
commit
5fc4590ce5
@ -73,10 +73,12 @@ let
|
||||
echo "$jobText" > $out/etc/event.d/${job.name}
|
||||
'';
|
||||
|
||||
|
||||
jobs =
|
||||
[pkgs.upstart] # for the built-in logd job
|
||||
++ map (job: job.upstartPkg) (attrValues config.jobs);
|
||||
|
||||
|
||||
# Create an etc/event.d directory containing symlinks to the
|
||||
# specified list of Upstart job files.
|
||||
jobsDir = pkgs.runCommand "upstart-jobs" {inherit jobs;}
|
||||
@ -93,7 +95,7 @@ let
|
||||
done
|
||||
''; # */
|
||||
|
||||
# !! remove extra indentations.
|
||||
|
||||
jobOptions = {
|
||||
|
||||
name = mkOption {
|
||||
@ -219,6 +221,7 @@ let
|
||||
|
||||
};
|
||||
|
||||
|
||||
upstartJob = {name, config, ...}: {
|
||||
options = {
|
||||
upstartPkg = mkOption {
|
||||
|
Loading…
x
Reference in New Issue
Block a user