Skip to content

Commit

Permalink
Shift config variable order
Browse files Browse the repository at this point in the history
  • Loading branch information
akkana committed Oct 28, 2017
1 parent 1915f43 commit b70f10a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions urlrss
Expand Up @@ -27,9 +27,14 @@ if len(sys.argv) > 1:
else:
devicepath = "/droidsd"

# The home dir of the server -- under which we should find feeds and feedme.
# if we're in CGI mode. Must end with a slash.
# If not CGI mode, this isn't used.
serverhome = '/var/www/'

# Where to look for the saved URL files.
# This will be tilde-expanded after we've ascertained whether
# we're running from a CGI.
# This will be tilde-expanded;
# in CGI mode, ~ will expand to serverhome/feedme.
urlfiles = [ "~/feeds/localurls" ]

# Where to create the RSS file.
Expand All @@ -40,10 +45,6 @@ rssfile = "~/feeds/xtraurls.rss"
# We'll append to what's already there.
urlarchive = "~/.cache/feedme/xtraurls.html"

# The home dir of the server -- under which we should find feeds and feedme.
# Must end with a slash.
serverhome = '/var/www/'

# The path to feedme on the web server, as seen from the www-data user.
# If you've set serverhome you can probably leave this alone.
feedme_exec = serverhome + 'feedme/feedme'
Expand Down

0 comments on commit b70f10a

Please sign in to comment.