-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
initctl #4
Comments
Apparently only appears if you do not run it as root. Should probably run it as the service user? |
The provisioning should handle such situations :) |
Doesn't this happen because the app was started manually by someone not using the restart script on the ec2-user? |
It probably happens because it find wrong PID or PID/user combinantion |
correct. Initctl can't control UserIdentityBackend if it didn't start it and has the PID |
pids=$(pgrep ) kill -9 $pids pkill -9 |
initctl restart UserIdentityBackend
initctl: Rejected send message, 1 matched rules; type="method_call", sender=":1.4" (uid=501 pid=29969 comm="initctl restart UserIdentityBackend ") interface="com.ubuntu.Upstart0_6.Job" member="Restart" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init ")
The text was updated successfully, but these errors were encountered: