mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-08 16:06:47 +00:00
The new unit file runs the merged faasd binary and the provider command. The install script also prints out a sample login command to make it easier to use the faas-cli. Travis / CI has been updated to run the new steps in the e2e tests. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
15 lines
283 B
Desktop File
15 lines
283 B
Desktop File
[Unit]
|
|
Description=faasd-provider
|
|
|
|
[Service]
|
|
MemoryLimit=500M
|
|
Environment="secret_mount_path={{.SecretMountPath}}"
|
|
Environment="basic_auth=true"
|
|
ExecStart=/usr/local/bin/faasd provider
|
|
Restart=on-failure
|
|
RestartSec=10s
|
|
WorkingDirectory={{.Cwd}}
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|