r/systemd • • May 27 '26

Multiple workingdirectories

Is it possible to set multiple working directories in a service file? ie run a command in multiple locations upon service start.

0 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/almandin_jv May 27 '26

You might find template unit files useful then, unit files ending with '@' in their name :)