dev/provisioning/modules/sysconfig/files/handle/handle.service
author ymh <ymh.work@gmail.com>
Fri, 17 Nov 2017 09:10:41 +0100
changeset 558 64c4050f6a36
parent 146 dc4d1cdc47e0
permissions -rw-r--r--
small correction

[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