This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
ansible-role-warehost/warehost-host/templates/warehost-host.service

16 lines
372 B
SYSTEMD
Raw Normal View History

2016-11-27 10:06:35 +01:00
[Unit]
Description=Warehost host to configurate the Webserver and Database
After=syslog.target
After=network.target
After=postgresql.service
[Service]
Type=oneshot
User=warehost
ExecStart=/usr/local/bin/warehost-host -c /etc/warehost/host.conf
PermissionsStartOnly=true
2016-12-07 14:43:11 +01:00
ExecStartPost=/bin/systemctl reload {{warehost_host_web_type}}
2016-11-27 10:06:35 +01:00
[Install]
WantedBy=multi-user.target