On 12/14/2013 09:56 AM, Andrey Borzenkov wrote:
I made a first setup to make a service for the H2 database. I made the
folowing service file:
[Unit]
Description=H2 Database
[Service]
Type=simple
ExecStart=/usr/bin/java -cp /home/cecil/java/h2/bin/h2-1.3.174.jar
org.h2.tools.Console -tool -tcp
Restart=always
User=cecil
[Install]
WantedBy=multi-user.target
After starting and stopping I got with ‘journalctl -u h2’:
...
Should I not see that with the first command, or am I overlooking something?
Did you try "journalctl -u h2.service"?
I did not, but that should give the same result. I just tried it and it
does give the same result.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel