Mike Thrussell
Mike Thrussell

Reputation: 4515

Debian: where are services installed

I want edit raspberrypi-net-mods.service to copy a file, rather than move it.

How would I go about locating this please?

Upvotes: 0

Views: 256

Answers (1)

umläute
umläute

Reputation: 31274

YOu can get the location of a systemd-unit via

systemctl status raspberrypi-net-mods.service

You shouldn't edit system-installed service-files directly. Instead you can customize a service by adding configuration to /etc/systemd/system/

You probably want to read the documentation, e.g. man 5 systemd.unit

Upvotes: 1

Related Questions