Files
systemd/renovate/renovate.service
T

33 lines
1007 B
Desktop File

# lives at /etc/systemd/system/renovate.service
[Unit]
Description=Renovate Bot
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
User=renovate
Group=renovate
WorkingDirectory=/var/lib/renovate
# /snap/bin is included first in the PATH because I needed a more up to
# date node.js than the system had, so I installed the newer version via
# snap. This path points to that first.
Environment="PATH=/snap/bin:/usr/local/bin:/usr/bin:/bin"
# load the token from the environment
EnvironmentFile=/etc/renovate/token-env
Environment="RENOVATE_CONFIG_FILE=/etc/renovate/config.js"
Environment="GIT_AUTHOR_NAME=Renovate Bot"
Environment="GIT_AUTHOR_EMAIL=MarkEEaton@noreply.tildegit.org"
Environment="GIT_COMMITTER_NAME=Renovate Bot"
Environment="GIT_COMMITTER_EMAIL=MarkEEaton@noreply.tildegit.org"
# use the snap version of npx
ExecStart=/snap/bin/npx renovate
# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=renovate
[Install]
WantedBy=multi-user.target