Update README.md
This commit is contained in:
@ -34,7 +34,7 @@ Modify config.json:
|
|||||||
tmux new-session -d -s emails
|
tmux new-session -d -s emails
|
||||||
|
|
||||||
# Send commands to the 'emails' session
|
# Send commands to the 'emails' session
|
||||||
tmux send-keys -t emails 'cd /opt/Frigate-SMTP' C-m
|
tmux send-keys -t emails 'cd /home/user/Frigate-SMTP' C-m
|
||||||
tmux send-keys -t emails 'python3 main.py' C-m
|
tmux send-keys -t emails 'python3 main.py' C-m
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -50,8 +50,8 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
ExecStart=/opt/Frigate-SMTP/startup.sh
|
ExecStart=/home/user/startup.sh
|
||||||
WorkingDirectory=/opt/Frigate-SMTP
|
WorkingDirectory=/home/user/Frigate-SMTP
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
User=root
|
User=root
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user