[Unit]
Description=Kolibri

[Service]
Type=forking
RemainAfterExit=yes
Environment=KOLIBRI_USER={{ kolibri_user }}
Environment=KOLIBRI_HOME={{ kolibri_home }}
Environment=KOLIBRI_HTTP_PORT={{ kolibri_http_port }}
Environment=KOLIBRI_URL_PATH_PREFIX={{ kolibri_url }}
User={{ kolibri_user }}
Group={{ apache_user }}
TimeoutStartSec=infinity
TimeoutStopSec=10
ExecStart={{ kolibri_exec_path }} start
ExecStop={{ kolibri_exec_path }} stop

[Install]
WantedBy=multi-user.target
