[Tile-serving] [openstreetmap/mod_tile] renderd-postgresql service fails (#197)

Julien Fastré notifications at github.com
Mon Jan 13 08:49:25 UTC 2020


You could ask for systemd to create the directory on system start. 

Add those statement in the `[service]` part of the file which should be located in `/etc/systemd/system/renderd.service`:

```
[Unit]
Description=Renderd
After=network.target auditd.service

[Service]
RuntimeDirectory=./renderd
RuntimeDirectoryMode=0755
```

Here is my full systemd service definition:

```
[Unit]
Description=Renderd
After=network.target auditd.service

[Service]
User=gis
Group=gis
Type=simple
RuntimeDirectory=./renderd
RuntimeDirectoryMode=0755
Restart=always
ExecStart=/usr/local/bin/renderd --foreground -c /etc/renderd.conf 
MemoryHigh=90G
MemoryMax=100G
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/197#issuecomment-573561811
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200113/33042034/attachment.htm>


More information about the Tile-serving mailing list