pastebinner/lib/configuration.rb

14 lines
606 B
Ruby

class Configuration
# this is going to be where i store config options like
# - database or directory. directory is built in, we just need to fine tune it a bit more
# - we will start doing just a standard sqlite file for raw pastes as a test
# we can use systemd service/timer files to generate a way to automate downloading raw pastes.
def generate_service_file(user=, working_directory=, exec_start=)
# this should maybe be a HERE document that will create the file with the
# or just open the base template file that we have and replace these specific lines.
end
def build_cron
end
end