systemctl enable rc-local.service
man systemd.unit
jkerr82508 wrote:Supposedly, you can just create /etc/rc.d/rc.local, make it executable and activate the systemd rc-local service:
- Code: Select all
systemctl enable rc-local.service
rc10b wrote:I can confirm that this method worked for me.jkerr82508 wrote:Supposedly, you can just create /etc/rc.d/rc.local, make it executable and activate the systemd rc-local service:
- Code: Select all
systemctl enable rc-local.service
Steve
# systemctl enable rc-local.service
Failed to issue method call: Invalid argument
# systemctl disable rc-local.service
rm '/etc/systemd/system/multi-user.target.wants/rc-local.service'
# systemctl disable rc-local.service
(no output)
# systemctl enable rc-local.service
Failed to issue method call: Invalid argument
# systemctl disable rc-local.service
rm '/etc/systemd/system/multi-user.target.wants/rc-local.service'
# systemctl disable rc-local.service
(no output)
# systemctl enable rc-local.service
Failed to issue method call: Invalid argument
# systemctl enable rc-local.service
Failed to issue method call: Invalid argument
martint2 wrote:Leuhmanu, sounds like it (from cursory reading)- I'll check it out tomorrow and close if solved
Thank you
Martin
waferhead wrote:Mine's working in /etc/rc.d/rc.local but also giving errors
sander85 wrote:waferhead wrote:Mine's working in /etc/rc.d/rc.local but also giving errors
Can you please show us the errors. Just telling it's giving errors doesn't help much..
# systemctl enable rc-local.service
Failed to issue method call: Invalid argument
#!/bin/sh
chgrp uucp /run/lock
chmod 775 /run/lock
waferhead wrote:Same error morgano posted
- Code: Select all
# systemctl enable rc-local.service
Failed to issue method call: Invalid argument
Return to The magician suggests...
Users browsing this forum: No registered users and 1 guest