meow
This commit is contained in:
parent
ec689ab43e
commit
0138fb3349
3 changed files with 24 additions and 1 deletions
|
|
@ -39,6 +39,11 @@ def setup(path, base_dir, file_prefix, etcd_url):
|
|||
sp.check_output(['pipenv','--site-packages', '--python', '3'], cwd=repo_name)
|
||||
sp.check_output(['pipenv', 'install'], cwd=repo_name)
|
||||
|
||||
# TODO: Devuan/Debian have crontab under /etc/crontab
|
||||
# while Alpine have it under /etc/crontabs/root
|
||||
# Detect in the following code where should we write
|
||||
# our crontab entries
|
||||
|
||||
# Write Crontab entry
|
||||
with open("/etc/crontabs/root", "a") as crontab:
|
||||
crontab.write(
|
||||
|
|
|
|||
|
|
@ -39,6 +39,12 @@ def setup(path, base_dir, etcd_url, without_ceph):
|
|||
sp.check_output(['pipenv','--site-packages', '--python', '3'], cwd=repo_name)
|
||||
sp.check_output(['pipenv', 'install'], cwd=repo_name)
|
||||
|
||||
# TODO: Devuan/Debian have crontab under /etc/crontab
|
||||
# while Alpine have it under /etc/crontabs/root
|
||||
# Detect in the following code where should we write
|
||||
# our crontab entries
|
||||
|
||||
|
||||
# Write Crontab entry
|
||||
with open("/etc/crontabs/root", "a") as crontab:
|
||||
crontab.write(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue