dev/provisioning/modules/sysconfig/files/handle/handle.service
author ymh <ymh.work@gmail.com>
Mon, 28 Nov 2016 23:11:54 +0100
changeset 453 1059a7ae018a
parent 146 dc4d1cdc47e0
permissions -rw-r--r--
correct notice stand alone display

[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