Mercurial > gemma
annotate misc/gemma.service @ 5547:f8c370af9e6f aggregate-gm-import-logging
Cosmetics.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 31 Oct 2021 01:56:35 +0200 |
parents | 42e7088824be |
children |
rev | line source |
---|---|
4397
f7a32b0b9235
Added example systemd service file.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
1 [Unit] |
f7a32b0b9235
Added example systemd service file.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
2 Description=Gemma Server |
f7a32b0b9235
Added example systemd service file.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
3 After=network.target |
f7a32b0b9235
Added example systemd service file.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
4 |
f7a32b0b9235
Added example systemd service file.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
5 [Service] |
f7a32b0b9235
Added example systemd service file.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
6 Type=simple |
f7a32b0b9235
Added example systemd service file.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
7 ExecStart=/home/gemma/gemma/cmd/gemma/gemma -c /home/gemma/gemma.toml |
f7a32b0b9235
Added example systemd service file.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
8 User=gemma |
f7a32b0b9235
Added example systemd service file.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
9 Group=gemma |
4843
42e7088824be
Added "Restart=on-failure" to sample gemma.service
Sascha Wilde <wilde@intevation.de>
parents:
4397
diff
changeset
|
10 Restart=on-failure |
4397
f7a32b0b9235
Added example systemd service file.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
11 |
f7a32b0b9235
Added example systemd service file.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
12 [Install] |
f7a32b0b9235
Added example systemd service file.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
13 WantedBy=multi-user.target |