Remove unicorn requirement for systemd service
This commit is contained in:
parent
1cc27e2837
commit
3e764e6d4d
@ -1,3 +1,8 @@
|
||||
# cp oasis.service ~/.config/systemd/user
|
||||
# systemctl --user daemon-reload
|
||||
# systemctl --user enable oasis
|
||||
# systemctl --user start oasis
|
||||
|
||||
[Unit]
|
||||
Description=Oasis - Friendly Scuttlebutt Web Interface
|
||||
Documentation=https://github.com/fraction/oasis
|
||||
@ -5,8 +10,7 @@ After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=unicorn
|
||||
ExecStart=/usr/bin/node /home/unicorn/.yarn/bin/oasis --host localhost --port 4515
|
||||
ExecStart=%s -l -c 'oasis --host localhost --port 4515'
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
|
@ -29,3 +29,12 @@ yarn
|
||||
```shell
|
||||
npm install
|
||||
```
|
||||
|
||||
## System service
|
||||
|
||||
```shell
|
||||
cp contrib/oasis.service ~/.config/systemd/user
|
||||
systemctl --user daemon-reload
|
||||
systemctl --user enable oasis
|
||||
systemctl --user start oasis
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user