add systemd service file.

This commit is contained in:
nadoo committed 2017-07-24 17:16:40 +08:00
1 parent f5052770c0
commit 772eef1563
4 files changed
+30 -35

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
## Service
```bash
# copy service file to systemd
cp systemd/glider@.service /etc/systemd/system/
# copy config file to /etc/glider/
mkdir /etc/glider/
cp glider.conf.example /etc/glider/server.conf
# enable and start service
systemctl enable glider@server
systemctl start glider@server
```
See [glider@.service](https://github.com/nadoo/glider/blob/master/sytemd/glider@.service)