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

19 lines
577 B
Desktop File

# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2023 KDE e.V.
[Unit]
Description=macappsigner
After=syslog.target network.target
[Service]
Type=exec
WorkingDirectory=%h/macappsigner
Environment="PATH=%h/macappsigner/.venv/bin:/usr/local/bin:/usr/bin:/bin"
ExecStart=%h/macappsigner/.venv/bin/python macappsigner.py -vv --id %u --config %h/.config/macappsigner.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