mirror of
https://github.com/woodchen-ink/webp_server_go.git
synced 2025-07-18 21:52:01 +08:00
Adds an alias for the service so webp-server.service becomes available for use after install
17 lines
340 B
Desktop File
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
|