[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: questions about cron.daily



On 09/04/2023 14:54, Michel Verdier wrote:
Le 8 avril 2023 Max Nikulin a écrit :
There is ready to use one: /usr/lib/systemd/user/emacs.service Perhaps there
is no such file in buster.

/usr/lib/systemd/user is for global system running. If you want to change
something in the service you copy it in ~/.config/systemd to supersede
global one.

For minor tuning (adding new parameters or overwriting specific ones) it is possible to create a drop-in file, e.g. ~/.config/systemd/user/emacs.service.d/override.conf (or in /etc for all users).

    systemctl --user edit emacs.service

See systemd.unit(5). Examples are usually given for system, not user units:
- https://wiki.debian.org/systemd#Creating_or_altering_services
- https://wiki.archlinux.org/title/systemd#Editing_provided_units
- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_basic_system_settings/assembly_working-with-systemd-unit-files_configuring-basic-system-settings#proc_extending-the-default-unit-configuration_assembly_working-with-systemd-unit-files


Reply to: