Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to copy a file to /etc/systemd/system?

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Hélène
Posts: 45
Joined: 2016-10-06 10:48
Has thanked: 2 times

How to copy a file to /etc/systemd/system?

#1 Post by Hélène »

Hello,

I have this error message:

Code: Select all

systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
I found this post: https://www.linuxquestions.org/question ... 175706866/

If I understant correctly, I have to copy the file /lib/systemd/system/plymouth-start.service to /etc/systemd/system and then change it. But I don't know how to copy it.

Could someone help me, please?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: How to copy a file to /etc/systemd/system?

#2 Post by Head_on_a_Stick »

Use

Code: Select all

systemctl edit plymouth-start.service
Then add these lines between the comment blocks:

Code: Select all

[Service]
KillMode=
KillMode=mixed
EDIT: bloody CamelCase...
deadbang

Hélène
Posts: 45
Joined: 2016-10-06 10:48
Has thanked: 2 times

Re: How to copy a file to /etc/systemd/system?

#3 Post by Hélène »

Hello,

Thank you very much.

Have a nice day.

Post Reply