diff --git a/templates/upstart.erb b/templates/upstart.erb index 4b2cb47..6ec857e 100644 --- a/templates/upstart.erb +++ b/templates/upstart.erb @@ -1,8 +1,8 @@ -description "<%= name %> Lodgeit server" +description "<%= @name %> Lodgeit server" author "Andrew Hutchings " start on (local-filesystems and net-device-up) stop on runlevel [!2345] -exec python /srv/lodgeit/<%= name %>/manage.py runserver -h 127.0.0.1 -p <%= port %> +exec python /srv/lodgeit/<%= @name %>/manage.py runserver -h 127.0.0.1 -p <%= @port %>