-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
When you say "ExecStart=/path/to/my_app start" do mean something like /rel/share3/bin/share3 start? #34
Comments
What kind of error? Can you paste that error? And yes, I mean't the path to your release binary runner. |
Made a tiny test project at https://github.com/mattiasw2/systemdtest/tree/main/systemdtest which only creates 2 log file entries. |
Could it be that erlang is installed using snap? |
Could you publish the unit file as well? |
What is the unit file? Do you mean the unit referred to in journalctl? The only meaningful error message is
|
In your case And the error seems peculiar. I will take a closer look into it. Can you also give me version of your systemd installation? |
The .service file is also on git.
…On Wed, Mar 30, 2022 at 5:20 PM Łukasz Jan Niemier ***@***.***> wrote:
In your case systemdtest.service.
And the error seems peculiar. I will take a closer look into it. Can you
also give me version of your systemd installation?
—
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJ4EU4ERIKFTZTOWXKB563VCRWNJANCNFSM5R27XI3A>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Would really be nice if someone could tell me what's wrong with this app. Is it the systemd:notify(ready), that is in the wrong place or... |
I can get this simple systemd file to work, the most important change it to use Type=simple, which is good enough for me, since Erlang so stable.
|
I have longer weekend now so I will try to handle that this weekend. Sorry, I was occupied with my day job and I had little time to spare on this one. |
Where
/rel/share3/bin/share3 start
is created using "rebar3 release".
I never got this to work, get some protocol error when I do "systemctl start share3"
Using ubuntu 20.04 with Erl22.
The text was updated successfully, but these errors were encountered: