Mercurial > gemma
annotate misc/gemma.service @ 5625:39c1698fb0ff
Bumped dev version
author | Sascha Wilde <wilde@sha-bang.de> |
---|---|
date | Thu, 22 Dec 2022 18:43:46 +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 |