[Unit]
Description=Provides the Lokole Server
#Requires=lokole.socket
After=network.target

[Service]
Type=simple
ExecStart=/bin/bash {{ lokole_run_directory }}/webapp.sh
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s TERM $MAINPID
User=root
Group=root
PrivateTmp=true

[Install]
WantedBy=multi-user.target
