just added some psuedocode for an exception and a config file method
This commit is contained in:
parent
e49e94e0e0
commit
879a897770
2 changed files with 12 additions and 0 deletions
|
@ -2,4 +2,13 @@ class Configuration
|
||||||
# this is going to be where i store config options like
|
# 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
|
# - 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 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
|
end
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
class PastebinnerError < StandardError
|
class PastebinnerError < StandardError
|
||||||
|
|
||||||
|
def ConfigError
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue