bundlewrap/bundles/forgejo/files/forgejo.service

18 lines
317 B
SYSTEMD
Raw Permalink Normal View History

2020-08-20 13:34:27 +00:00
[Unit]
Description=${app_name} at ${domain}
After=syslog.target
After=network.target
Requires=postgresql.service
[Service]
2023-08-02 14:37:48 +00:00
RestartSec=10
2020-08-20 13:34:27 +00:00
Type=simple
User=git
Group=git
2023-08-02 14:37:48 +00:00
WorkingDirectory=/var/lib/forgejo
ExecStart=/usr/local/bin/forgejo web -c /etc/forgejo/app.ini
2020-08-20 13:34:27 +00:00
Restart=always
[Install]
WantedBy=multi-user.target