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