view misc/gemma.service @ 4405:7657640f0c8d

Gracefully handle existing default login roles If multiple databases are created in the same PostgreSQL cluster, existing roles are now properly re-used. This also fixes running database tests on a cluster that already has these roles, which was broken since rev. 5e38667f740c, because it silently fixed a test for existance of roles that failed if proper creation of the role 'sysadmin' failed during setup of the test database.
author Tom Gottfried <tom@intevation.de>
date Mon, 16 Sep 2019 19:58:13 +0200
parents f7a32b0b9235
children 42e7088824be
line wrap: on
line source

[Unit]
Description=Gemma Server
After=network.target

[Service]
Type=simple
ExecStart=/home/gemma/gemma/cmd/gemma/gemma -c /home/gemma/gemma.toml
User=gemma
Group=gemma

[Install]
WantedBy=multi-user.target