mirror of
https://github.com/nadoo/glider.git
synced 2025-02-24 01:45:39 +08:00
28 lines
504 B
Markdown
28 lines
504 B
Markdown
## Service
|
|
|
|
binary file:
|
|
```bash
|
|
cp glider /usr/bin/
|
|
```
|
|
|
|
service file:
|
|
```bash
|
|
# copy service file to systemd
|
|
cp systemd/glider@.service /etc/systemd/system/
|
|
```
|
|
|
|
config file: ***server***.conf
|
|
```bash
|
|
# copy config file to /etc/glider/
|
|
mkdir /etc/glider/
|
|
cp glider.conf.example /etc/glider/server.conf
|
|
```
|
|
|
|
enable and start service: glider@***server***
|
|
```bash
|
|
# enable and start service
|
|
systemctl enable glider@server
|
|
systemctl start glider@server
|
|
```
|
|
See [glider@.service](systemd/glider%40.service)
|