Skip to content

Instantly share code, notes, and snippets.

@aforemny
Created May 27, 2012 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aforemny/2814308 to your computer and use it in GitHub Desktop.
Save aforemny/2814308 to your computer and use it in GitHub Desktop.
# Upstart job `lighttpd'. This is a generated file. Do not edit.
description "Lighttpd webserver"
start on started network-interfaces
stop on stopping network-interfaces
env PATH=/nix/store/mpnj4k2ijrgyfkh48fg96nzcmklfh5pl-coreutils-8.15/bin:/nix/store/6hg10ashnalchwr6xlfi5yjxwsmlikf9-findutils-4.4.2/bin:/nix/store/bjfr2h0f4dr1ckpccp8i494hh667vbga-gnugrep-2.10/bin:/nix/store/fn7hm39xaj8iqlvg4n4hxd9q4nvi6qhv-gnused-4.2.1/bin:/nix/store/q97mxdamwmjcqlia1yc7a7cwrdvqlabc-upstart-1.5/bin:/nix/store/mpnj4k2ijrgyfkh48fg96nzcmklfh5pl-coreutils-8.15/sbin:/nix/store/6hg10ashnalchwr6xlfi5yjxwsmlikf9-findutils-4.4.2/sbin:/nix/store/bjfr2h0f4dr1ckpccp8i494hh667vbga-gnugrep-2.10/sbin:/nix/store/fn7hm39xaj8iqlvg4n4hxd9q4nvi6qhv-gnused-4.2.1/sbin:/nix/store/q97mxdamwmjcqlia1yc7a7cwrdvqlabc-upstart-1.5/sbin
pre-start script
exec >> /var/log/upstart/lighttpd 2>&1
ln -sfn "$(readlink -f "/etc/init/lighttpd.conf")" /var/run/upstart-jobs/lighttpd
source /nix/store/vcwnfjdcgjhs0f4vd3887yajapahl4cx-job-helpers.sh
mkdir -p "/var/www/"
chown lighttpd:lighttpd "/var/www/"
end script
script
exec >> /var/log/upstart/lighttpd 2>&1
exec /nix/store/0ybqmwkv4aqdllrf874px4jg6sp3n8i7-lighttpd-1.4.30/sbin/lighttpd -f /nix/store/2j6jg5jw40486pzgh5gihnz0jdlrfrxg-lighttpd.conf -D
end script
respawn
expect fork
kill signal INT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment