dev/provisioning/modules/sysconfig/files/handle/handle.service
author ymh <ymh.work@gmail.com>
Tue, 20 Mar 2018 15:02:40 +0100
changeset 573 25f3d28f51b2
parent 146 dc4d1cdc47e0
permissions -rw-r--r--
Added tag 0.0.25 for changeset 190ae1dee68d

[Unit]
Description=Handle server
Documentation=http://handle.net

[Service]
Type=simple
EnvironmentFile=/etc/sysconfig/handle
User=handle
Group=handle
# PIDFile=/var/run/handle/handle.pid
ExecStart=/opt/handle/sbin/start_handle "${HANDLE_KEY_PSWD}"
ExecStop=/usr/bin/rm -f /var/lib/handle/delete_this_to_stop_server

[Install]
WantedBy=multi-user.target