Continuing the discussion from Installation on OpenSuse fails:
Hi crate users,
unpacking the tarball for “installation” has flawlessly worked on the three systems I tested it on. Now I would like to automatically start crate at boot time and tried to build a systemd service file. It is very short – just like the error it fails with.
[Unit] Description=Crate DB [Service] Type=forking WorkingDirectory=/home/fl/SW/crate ExecStart=/home/fl/SW/crate/bin/crate -d KillSignal=SIGTERM Restart=always RestartSec=5s [Install] WantedBy=multi-user.target
The error I get is:
May 27 01:06:21 tuxedo systemd: Started Crate DB (electricity monitoring).. May 27 01:06:22 tuxedo systemd: cratedb.service: Main process exited, code=exited, status=1/FAILURE May 27 01:06:22 tuxedo systemd: cratedb.service: Unit entered failed state. May 27 01:06:22 tuxedo systemd: cratedb.service: Failed with result 'exit-code'.
I tried a few things, none of which worked. Would one of you mind sharing their systemd.service file with the community? I guess it would be helpful to have a template in the tarball already tor simple adaptation…
In any case: Thanks a lot for your help!