Commit 8c0fd854 authored by Decoupes Remy's avatar Decoupes Remy
Browse files

systemd: fix error

parent 060a6c95
......@@ -14,7 +14,7 @@ Users who wants to use this project have to create a [Twitter developer account]
This project has only been tested on python3.7.
Install all dependencies using pip:
pip install -r requirements.txt
pip3 install -r requirements.txt
### Twitter credentials
A has to be created using the [template](params/
......@@ -31,8 +31,8 @@ python3
## Optional : create a systemd deamon
1. Copy service file `sudo cp systemd/mood-tweets-collect.service /lib/systemd/system`
2. Modify /lib/systemd/system/mood-tweets-collect.service with the correct execPath
2. Modify /lib/systemd/system/mood-tweets-collect.service with the correct `WorkingDirectory`
3. Reload systemd :`sudo systemctl daemon-reload`
4. Enable auto start using command : `systemctl enable mood-tweets-collect.service`
4. Enable auto start using command : `sudo systemctl enable mood-tweets-collect.service`
## License
This code is provided under the [CeCILL-B]( free software license agreement.
\ No newline at end of file
......@@ -2,7 +2,8 @@
Description=H2020 MOOD / TETIS collect tweets
ExecStart=/usr/bin/python3 /home/rdecoupe/mood-tetis-tweets-collect/
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment