Skip to main content
6 of 15
adjusted content because of TMI
Jonathan Komar
  • 7.1k
  • 8
  • 38
  • 54

Is there a designated place for scripts that are (indirectly) automatically executed by systemd?

Arch Linux Question

I recently asked where to but a systemd unit file: Where do I put my systemd unit file?

I would like to run a python script every 5 minutes (not to be confused with a systemd unit file script that calls the python script). I read the answers to this question: Run script every 30 min with systemd

This is where my question comes in. Where should or could you store scripts that are run by systemd? Is there a reserved place for these, particularly on Arch Linux?

  • For example, logs are placed in /var/log
  • systemd unit files are placed under /etc/systemd/system
Jonathan Komar
  • 7.1k
  • 8
  • 38
  • 54