Mercurial > gemma
annotate misc/gemma.service @ 5675:b8da63027b48 sr-v2
Started to separate mesh serialisation in different files.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 10 Feb 2024 22:22:03 +0100 |
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 |