initial commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# 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=b7jl@sdf.org"
|
||||
Environment="GIT_COMMITTER_NAME=Renovate Bot"
|
||||
Environment="GIT_COMMITTER_EMAIL=b7jl@sdf.org"
|
||||
# use the snap version of npx
|
||||
ExecStart=/snap/bin/npx renovate
|
||||
# Logging
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=renovate
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user