Skip to content

Commit

Permalink
Install sudoers file for unattended debspawn calls
Browse files Browse the repository at this point in the history
  • Loading branch information
ximion committed Feb 20, 2024
1 parent 5c60808 commit 20c9261
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/sudo/10laniakea-spark
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_lkspark ALL=(ALL) NOPASSWD: @PREFIX@/bin/debspawn
1 change: 1 addition & 0 deletions install-sysdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def install_data(temp_dir: str, root_dir: str, prefix_dir: str):
sd_system_unit_dir = pkgconfig.variables('systemd')['systemdsystemunitdir']

inst.install('data/systemd/laniakea-spark.service.in', sd_system_unit_dir, replace_vars=True)
inst.install('data/sudo/10laniakea-spark', '/etc/sudoers.d/', replace_vars=True)


def main():
Expand Down

0 comments on commit 20c9261

Please sign in to comment.