dev/provisioning/modules/sysconfig/files/handle/handle.service
author ymh <ymh.work@gmail.com>
Sun, 09 Oct 2016 11:44:18 +0200
changeset 325 31a4987f6017
parent 146 dc4d1cdc47e0
permissions -rw-r--r--
Add fields to document index

[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