From 6ef73c05efa38227cc0a940c973fe9afd221383c Mon Sep 17 00:00:00 2001 From: Spencer Krum Date: Sun, 24 Jan 2016 16:52:12 -0800 Subject: [PATCH] Use modern template syntax Change-Id: Ic2429937e7d00ef0d9bc6773675977699a11cb44 --- templates/upstart.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 %>