Initial commit
This commit is contained in:
commit
9235c2011e
5 changed files with 125 additions and 0 deletions
18
files/forgejo.service
Normal file
18
files/forgejo.service
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[Unit]
|
||||
Description=Forgejo
|
||||
|
||||
After=syslog.target
|
||||
After=network.target
|
||||
# TODO: After=DB/redis/...
|
||||
|
||||
[Service]
|
||||
RestartSec=2s
|
||||
Type=simple
|
||||
User=git
|
||||
Group=git
|
||||
WorkingDirectory=~
|
||||
ExecStart=/usr/local/sbin/forgejo web --config /etc/forgejo/app.ini
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue