mirror of https://github.com/getmango/Mango.git
Created Configuration (markdown)
parent
6953514fb7
commit
a12a6662f6
|
@ -0,0 +1,19 @@
|
||||||
|
### Systemd Service
|
||||||
|
|
||||||
|
You can use the following script to run Mango as a systemd service
|
||||||
|
|
||||||
|
```systemd
|
||||||
|
[Unit]
|
||||||
|
Description=Mango manga server
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
Restart=always
|
||||||
|
RestartSec=1
|
||||||
|
ExecStart=/usr/local/bin/mango
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue