Skip to content

Commit

Permalink
update document
Browse files Browse the repository at this point in the history
  • Loading branch information
101t committed Aug 29, 2021
1 parent 721c80a commit 8d34e38
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Open your text editor and paste the following configuration:
```shell
sudo nano /etc/systemd/system/jasmind.service
```
In directory: /etc/systemd/system/jasmind.service
In directory: /etc/systemd/system
```editorconfig
[Unit]
Description=Jasmin SMS Gateway
Expand All @@ -86,7 +86,7 @@ WantedBy=multi-user.target
```shell
sudo nano /etc/systemd/system/jasmin-celery.service
```

In directory: /etc/systemd/system
```editorconfig
[Unit]
Description=Jasmin Celery server
Expand All @@ -110,7 +110,7 @@ WantedBy=multi-user.target
```shell
sudo nano /etc/systemd/system/jasmin-dlrd.service
```

In directory: /etc/systemd/system
```editorconfig
[Unit]
Description=Jasmin SMS Gateway DLR throwing standalone daemon
Expand All @@ -133,7 +133,7 @@ WantedBy=multi-user.target
```shell
sudo nano /etc/systemd/system/jasmin-dlrlookupd.service
```

In directory: /etc/systemd/system
```editorconfig
[Unit]
Description=Jasmin SMS Gateway DLR lookup standalone daemon
Expand All @@ -156,7 +156,7 @@ WantedBy=multi-user.target
```shell
sudo nano /etc/systemd/system/jasmin-interceptord.service
```

In directory: /etc/systemd/system
```editorconfig
[Unit]
Description=Jasmin SMS Gateway interceptor
Expand All @@ -181,7 +181,7 @@ Create symlink for twisted main file.
```shell
sudo -u jasmin ln -s /jasmin/jasmin/bin/twistd /jasmin/jasmin/twistd3
```

In directory: /etc/systemd/system
```shell
sudo nano /etc/systemd/system/jasmin-restapi.service
```
Expand All @@ -203,8 +203,7 @@ ExecStart=/bin/sh -c "/jasmin/jasmin/twistd3 -n --pidfile=/tmp/twistd-web-restap
WantedBy=multi-user.target
```


Reload systemd
Reload systemctl

```shell
sudo systemctl daemon-reload
Expand Down

0 comments on commit 8d34e38

Please sign in to comment.