Compare commits
No commits in common. "f3950c9a59d4aefd02c607a76c59fad8292830f7" and "44fa9ff9b7acff81df90fdbf13a960b76252865d" have entirely different histories.
f3950c9a59
...
44fa9ff9b7
1 changed files with 0 additions and 8 deletions
|
|
@ -21,7 +21,6 @@ After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=<path/to/respository>/start.sh
|
ExecStart=<path/to/respository>/start.sh
|
||||||
WorkingDirectory=<path/to/repository>
|
|
||||||
ExecStop=/usr/bin/pkill docs.brut.systems
|
ExecStop=/usr/bin/pkill docs.brut.systems
|
||||||
Restart=always
|
Restart=always
|
||||||
User=<user to run as>
|
User=<user to run as>
|
||||||
|
|
@ -33,10 +32,3 @@ Environment="PORT=<port>"
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
```
|
```
|
||||||
|
|
||||||
Then start the service:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
$ sudo systemctl enable docs.brut.service
|
|
||||||
$ sudo systemctl start docs.brut.service
|
|
||||||
```
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue