The Wiki Systemd Configuration

This instance of wiki runs with `systemd` using `podman`.

## `fedwiki.build`

This file builds The Wiki Containerfile.

``` [Build] ImageTag=localhost/fedwiki:latest File=/etc/fedwiki/Containerfile ```

## `fedwiki.service`

This file defines the service.

``` [Unit] Description=Federated Wiki After=network-online.target Wants=network-online.target [Container] ContainerName=fedwiki Image=fedwiki.build User=fedwiki:fedwiki Volume=/srv/fedwiki:/data:Z Volume=/etc/fedwiki:/config:Z Label=io.containers.autoupdate=registry Network=fedwiki PublishPort=127.0.0.1:3999:3999 [Service] Restart=always [Install] WantedBy=multi-user.target ```

This has several things worth noting:

* The user ID and group in `User=fedwiki:fedwiki` might require changing to specific userIDs (eg. `User=1001:1001`). We recommend using a non-root user. * We store the data under `/srv/fedwiki`, but this can be any directory. * We store the configuration under `/etc/fedwiki` * We listen only from `127.0.0.1:3999` as connections are handled by The Wiki NGINX Configuration.

##