Skip to content

place systemd system file in setup.py #6

@jaesivsm

Description

@jaesivsm

As explained in a very neat comment :

for systemd you have 2 options.
You could just put the service file where your data files or docs are and tell the user how to move it to the right place.
The other solution would be to put the files where they belong. This is /lib/systemd/system for system wide install and ~/.config/systemd/user for user install.
/etc/systemd/system is meant for unit files that the admin supplied not for installed ones.
I would prefer the second variant.
https://www.freedesktop.org/software/systemd/man/systemd.unit.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions