Commit 9f24858d authored by Decoupes Remy's avatar Decoupes Remy
Browse files

Create a systemd deamon

parent ee8e3409
......@@ -29,6 +29,9 @@ The script can be launched using this command :
```shell
python3 collectTweets.py
```
## Optional : create a systemd deamon
1. Create a link `ln -s systemd/mood-tweets-collect.service /lib/systemd/system`
2. Reload systemd :`systemctl daemon-reload`
3. Enable auto start using command : `systemctl enable mood-tweets-collect.service`
## License
This code is provided under the [CeCILL-B](https://cecill.info/licences/Licence_CeCILL-B_V1-en.html) free software license agreement.
\ No newline at end of file
[Unit]
Description=H2020 MOOD / TETIS collect tweets
[Service]
ExecStart=/usr/bin/python3 ./../collectTweets.py
Restart=on-failure
RestartSec=10
\ 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