Mercurial > gemma
annotate misc/gemma.service @ 5637:7f9600ab5461
merge
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 14 Jun 2023 08:45:11 +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 |