old_contents: #!/usr/bin/env python
  from subprocess import Popen
  
  def systemctl():
      pass
  
  
  def start(service):
      Popen(['systemctl', 'start', service])
  
  
  def stop(service):
      pass
  
  
  def restart(service):
      Popen(['systemctl', 'restart', service])
  
  
  def reload():
      pass
  
new_contents: #!/usr/bin/env python
  from subprocess import Popen
  from typing import List
  
  
  def systemctl(*args: List[str]):
      Popen(['systemctl'] + list(args))
  
  
  def start(service: str):
      systemctl('start', service)
  
  
  def stop(service: str):
      systemctl('stop', service)
  
  
  def restart(service: str):
      systemctl('restart', service)
  
  
  def reload(service: str):
      systemctl('reload', service)
  
subject: Complete systemd commands, add typing