bundlewrap/bundles/woodpecker-server/files/woodpecker-server.service

19 lines
334 B
Desktop File

[Unit]
Description=woodpecker ci
After=syslog.target
After=network.target
Requires=postgresql.service
[Service]
RestartSec=2s
Type=simple
User=woodpecker
Group=woodpecker
ExecStart=/usr/local/bin/woodpecker-server
Restart=always
% for k, v in sorted(env.items()):
Environment=${k}=${v}
% endfor
[Install]
WantedBy=multi-user.target