mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-11 21:12:00 +01:00
feat: redesign the project structure
This commit is contained in:
@@ -26,8 +26,9 @@ os.chmod(NIX_DAEMON_PLIST, 0o444)
|
||||
|
||||
# reload the plist
|
||||
for cmd in (
|
||||
f"launchctl unload {NIX_DAEMON_NAME}",
|
||||
f"launchctl load {NIX_DAEMON_NAME}",
|
||||
f"launchctl unload {NIX_DAEMON_PLIST}",
|
||||
f"launchctl load {NIX_DAEMON_PLIST}",
|
||||
):
|
||||
subprocess.run(shlex.split(cmd))
|
||||
print(cmd)
|
||||
subprocess.run(shlex.split(cmd), capture_output=False)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user