2018-11-09 22:53:09 -06:00
|
|
|
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
|
2018-11-10 04:14:32 -06:00
|
|
|
|
|
|
|
# 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
|
2018-11-09 22:53:09 -06:00
|
|
|
end
|