webp_server_go/init/webps.service
Mathieu Aubin 3ec84d0ca5
init alias
Adds an alias for the service so webp-server.service becomes available for use after install
2020-04-01 19:21:29 -04:00

17 lines
340 B
Desktop File

[Unit]
Description=WebP Server Go
Documentation=https://github.com/webp-sh/webp_server_go
After=nginx.target
[Service]
Type=simple
StandardError=journal
WorkingDirectory=/opt/webps
ExecStart=/opt/webps/webp-server --config /opt/webps/config.json
Restart=always
RestartSec=3s
[Install]
WantedBy=multi-user.target
Alias=webp-server.service