mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
17 lines
375 B
Text
17 lines
375 B
Text
[Unit]
|
|
Description=Provides the Lokole Server
|
|
#Requires=lokole.socket
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
EnvironmentFile={{ lokole_run_directory }}/settings.env
|
|
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
|