(Grav GitSync) Automatic Commit from RealStickman
This commit is contained in:
parent
4fa05e3c49
commit
e30bc61ef0
@ -55,18 +55,4 @@ server {
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Systemd Service
|
## Systemd Service
|
||||||
*don't do this, use [Podman](/linux/services/podman) to generate a service file.*
|
> See [Podman](linux/podman#generate-systemd-service) to generate a service file.
|
||||||
`/etc/systemd/system/kavita.service`
|
|
||||||
```
|
|
||||||
[Unit]
|
|
||||||
Description=Kavita Podman container
|
|
||||||
[Service]
|
|
||||||
Restart=always
|
|
||||||
ExecStart=/usr/bin/podman start -a kavita
|
|
||||||
ExecStop=/usr/bin/podman stop -t 10 kavita
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
```
|
|
||||||
|
|
||||||
`# systemctl daemon-reload`
|
|
||||||
`# systemctl enable --now kavita`
|
|
Loading…
Reference in New Issue
Block a user