hsqldb.service (hsqldb-2.6.0) | : | hsqldb.service (hsqldb-2.6.1) | ||
---|---|---|---|---|
# $Id: hsqldb.service 5656 2016-10-08 10:56:14Z unsaved $ | # $Id: hsqldb.service 6309 2021-02-28 15:06:19Z unsaved $ | |||
# This file is a systemd init script wrapper for leading-edge UNIXes. | # This file is a systemd init script wrapper for leading-edge UNIXes. | |||
# Copy $HSQLDB_HOME/.../sample/hsqldb.cfg to /etc/hsqldb.conf and edit it. | # Copy $HSQLDB_HOME/.../sample/hsqldb.cfg to /etc/hsqldb.conf and edit it. | |||
# Tend to the "TODO" note below. | # Tend to the "TODO" note below. | |||
# Our init script will fail unless your .rc file is protected something like: | # Our init script will fail unless your .rc file is protected something like: | |||
# chmod 0600 /path/to/sqltool.rc | # chmod 0600 /path/to/sqltool.rc | |||
# | # | |||
# To activate this file, run: systemd daemon-reload | # To activate this file, run: systemd daemon-reload | |||
# To enable to execute upon system bootups/shutdowns (the ultimate purpose), run : | # To enable to execute upon system bootups/shutdowns (the ultimate purpose), run : | |||
# systemctl enable hsqldb | # systemctl enable hsqldb | |||
skipping to change at line 27 | skipping to change at line 27 | |||
After=socket.service | After=socket.service | |||
[Service] | [Service] | |||
# TODO! Change these paths to point to the absolute path of the "hsqldb.init" | # TODO! Change these paths to point to the absolute path of the "hsqldb.init" | |||
# script in your HyperSQL distribution: | # script in your HyperSQL distribution: | |||
ExecStart=/local/hsqldb-2.3.4/sample/hsqldb.init start | ExecStart=/local/hsqldb-2.3.4/sample/hsqldb.init start | |||
ExecReload=/local/hsqldb-2.3.4/sample/hsqldb.init restart | ExecReload=/local/hsqldb-2.3.4/sample/hsqldb.init restart | |||
ExecStop=/local/hsqldb-2.3.4/sample/hsqldb.init stop | ExecStop=/local/hsqldb-2.3.4/sample/hsqldb.init stop | |||
KillMode=process | KillMode=process | |||
#Restart=always Don't silently restart and mask real problems | #Restart=always Don't silently restart and mask real problems | |||
PIDFile=/var/run/hsqldb.pid | PIDFile=/run/hsqldb.pid | |||
#User=... We manage user from file /etc/hsqldb.conf | #User=... We manage user from file /etc/hsqldb.conf | |||
#WorkingDirectory=... No dependency on $PWD | #WorkingDirectory=... No dependency on $PWD | |||
Type=forking | Type=forking | |||
TimeoutStartSec=10 | TimeoutStartSec=10 | |||
[Install] | [Install] | |||
WantedBy=multi-user.target | WantedBy=multi-user.target | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |