Can install happyDomain as a deamon without docker

This commit is contained in:
nemunaire 2023-04-12 11:16:33 +02:00
commit a58a122836
7 changed files with 176 additions and 0 deletions

View file

@ -0,0 +1,14 @@
[Unit]
Description=happyDomain Domain Managment Server
After=network.target nss-lookup.target
[Service]
Type=exec
ExecStart=/usr/bin/happydomain
WorkingDirectory={% if happydomain_data_dir != '' %}{{ happydomain_data_dir }}{% else %}/var/lib/happydomain{% if instance_name != 'happyDomain' %}.{{ instance_name }}{% endif %}{% endif %}
User=happydomain
Group=happydomain
[Install]
WantedBy=multi-user.target