I would like a method as described here to set a watchdog to keep a python script alive, but in archlinux.
Thanks
EDIT
Solved using the example provided by smokes2345. I created a python_script.service in /etc/systemd/system/
with the following content:
[Service]
Type=simple
ExecStart=/home/fernando/PycharmProjects/get_tweets/get_tweets.py
Restart=always