| 1 |
[Unit] |
| 2 |
Description=Molly Brown gemini server for %I |
| 3 |
After=network.target |
| 4 |
|
| 5 |
[Service] |
| 6 |
Type=simple |
| 7 |
Restart=always |
| 8 |
User=molly-brown |
| 9 |
Group=ssl-cert |
| 10 |
ExecStart=/usr/bin/molly-brown -c /etc/molly-brown/%i.conf |
| 11 |
ConfigurationDirectory=molly-brown |
| 12 |
DynamicUser=yes |
| 13 |
LockPersonality=yes |
| 14 |
NoNewPrivileges=yes |
| 15 |
PrivateDevices=yes |
| 16 |
PrivateTmp=yes |
| 17 |
ProtectClock=yes |
| 18 |
ProtectControlGroups=yes |
| 19 |
ProtectHome=read-only |
| 20 |
ProtectHostname=yes |
| 21 |
ProtectKernelLogs=yes |
| 22 |
ProtectKernelModules=yes |
| 23 |
ProtectKernelTunables=yes |
| 24 |
ProtectSystem=strict |
| 25 |
RestrictAddressFamilies=AF_INET AF_INET6 |
| 26 |
RestrictNamespaces=yes |
| 27 |
RestrictRealtime=yes |
| 28 |
RestrictSUIDSGID=yes |
| 29 |
StateDirectory=molly-brown |
| 30 |
SystemCallArchitectures=native |
| 31 |
|
| 32 |
[Install] |
| 33 |
WantedBy=multi-user.target |