OpenMiInk/third_party/ci-notary-service/doc/apksigner-user.sample.service
Hellings b8c8ff98e2 Hi
2026-10-16 09:05:56 -04:00

19 lines
559 B
Desktop File

# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2023 KDE e.V.
[Unit]
Description=apksigner
After=syslog.target network.target
[Service]
Type=exec
WorkingDirectory=%h/apksigner
Environment="PATH=%h/apksigner/.venv/bin:/usr/local/bin:/usr/bin:/bin"
ExecStart=%h/apksigner/.venv/bin/python apksigner.py -vv --id %u --config %h/.config/apksigner.ini
Restart=on-failure
# avoid too many restarts in a short time span if starting the service fails
# because the SFTP server is temporarily unavailable
RestartSec=5s
[Install]
WantedBy=default.target