blob: d9c8849fc5e344a5f85ba4440a2d44a6db095b5d (
plain) (
tree)
|
|
[Unit]
Description=CGI HTTP instance %i
After=network.target
[Service]
Type=simple
EnvironmentFile=/etc/gocgi/%i.conf
ExecStart=/usr/bin/gocgi --path "${GOCGI_BIN}" --dir "${GOCGI_WORKDIR}" --env="${GOCGI_ENV}" --listen "${RUNTIME_DIRECTORY}/%i.sock"
RuntimeDirectory=gocgi
DynamicUser=yes
ProtectSystem=yes
PrivateDevices=yes
ProtectKernelTunables=yes
ProtectControlGroups=yes
[Install]
WantedBy=multi-user.target
|