<div dir="ltr"><div>Hi,</div><div><br></div><div>Is it by-design that a user can't restart their own user service?</div><div><br></div><div>I have worked around this by doing the following:</div><div><br></div><div>Override /lib/systemd/system/user@.service with a new file:</div><div><br></div><div>/etc/systemd/system/user@<uid>.service</div><div><br></div><div>I could have left out the <uid> if I wanted the override to apply to all users, but in this case, I want it to apply to only a single user.</div><div><br></div><div>In user@<uid>.service, I added:</div><div><br></div><div>Restart=always</div><div><br></div><div>to the [Service] section.</div><div><br></div><div>Viola! Now the user can just kill their own service (since they own it after all) and systemd will restart it for them.</div><div><br></div><div>Any problem with this workaround Lennart?</div><div><br></div><div>Thanks,</div><div><br></div><div>Jeff<br></div><div><br></div></div>