[Tile-serving] [openstreetmap/mod_tile] Adhere to FHS 3.0 and use daemon under /run. (#213)

Julien Fastré notifications at github.com
Fri Sep 4 19:33:40 UTC 2020


I am probably wrong, but I had issues with starting renderd because the directory `/var/run/renderd` did not exists). I had to create it manually and then start renderd. Now, I create a systemd service definition which creates this directory with correct permissions on startup (my template below). 

Maybe we should somewhere have an explanation or a systemd definition to avoid this problem. (Unless this is the role of the packaging  to maintain this file ?).

```
[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

[Install]
WantedBy=multi-user.target
```

-- 
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/pull/213#issuecomment-687340730
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200904/b99f8a1a/attachment.htm>


More information about the Tile-serving mailing list