Fixes in install

This commit is contained in:
absurdo 2024-03-10 00:35:29 +01:00
parent 1a20fdd944
commit 43f69c6c2d
6 changed files with 76 additions and 26 deletions

View file

@ -19,6 +19,7 @@ class ServerTask(Task):
self.files.append(['modules/pastafari2/scripts/system/install_composer.sh', 0o755])
#self.files.append(['modules/pastafari2/scripts/system/install_unixutils.sh', 0o755])
self.files.append(['modules/pastafari2/scripts/system/sudoers.d/spanel', 0o640])
self.files.append(['modules/pastafari2/scripts/system/install_leviathanutils.py', 0o755])
self.files.append(['modules/pastafari2/scripts/system/install_pastafariutils.py', 0o755])
self.files.append([self.data['pub_key'], 0o600])
@ -34,6 +35,7 @@ class ServerTask(Task):
self.commands_to_execute.append(['modules/pastafari2/scripts/system/install_pzoo_stats.py', '--user='+self.data['ssh_user']+' --pub_key='+self.data['pub_key']+' --group="'+self.data['group_name']+'" --path='+remote_path])
self.commands_to_execute.append(['modules/pastafari2/scripts/system/install_pastafariutils.py', '--user='+self.data['ssh_user']])
self.commands_to_execute.append(['modules/pastafari2/scripts/system/install_leviathanutils.py', '--user='+self.data['ssh_user']])
def post_task(self):