Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Hiawatha Web Server |
| 3 | After=network.target remote-fs.target nss-lookup.target |
| 4 | |
| 5 | [Service] |
| 6 | Type=simple |
| 7 | SyslogIdentifier=hiawatha |
| 8 | ExecStartPre=/usr/sbin/hiawatha -k ; /usr/sbin/wigwam |
| 9 | ExecStart= /usr/sbin/hiawatha -d |
| 10 | TimeoutSec=10 |
| 11 | #(doesn't like this setting. Can't find files) PrivateTmp=true |
| 12 | LimitNOFILE=infinity |
| 13 | CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FSETID CAP_SETGID CAP_SETUID |
| 14 | |
| 15 | [Install] |
| 16 | WantedBy=multi-user.target |