mirror of
https://github.com/woodchen-ink/webp_server_go.git
synced 2025-07-18 05:32:02 +08:00
19 lines
388 B
Desktop File
19 lines
388 B
Desktop File
[Unit]
|
|
Description=WebP Server
|
|
Documentation=https://github.com/n0vad3v/webp_server_go
|
|
After=nginx.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
StandardError=journal
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
WorkingDirectory=/opt/webps
|
|
ExecStart=/opt/webps/webp-server --config /opt/webps/config.json
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=always
|
|
RestartSec=3s
|
|
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|