[Unit]
Description=Warehost host to configurate the Webserver and Database
After=syslog.target
After=network.target
After=postgresql.service

[Service]
Type=oneshot
User=warehost
Group=nobody
ExecStart=/usr/local/bin/warehost-host -c /etc/warehost/host.conf
PermissionsStartOnly=true
ExecStartPost=/usr/bin/systemctl reload {{warehost_host_web_type}}

[Install]
WantedBy=multi-user.target