Skip to content

Instantly share code, notes, and snippets.

@gandroz
Created March 14, 2021 20:58
Show Gist options
  • Save gandroz/3475fabef15a0ce0957006bb1e8c911e to your computer and use it in GitHub Desktop.
Save gandroz/3475fabef15a0ce0957006bb1e8c911e to your computer and use it in GitHub Desktop.
IP sender service
[Unit]
Description=Current IP email sender
After=multi-user.target network.target
[Service]
User=guillaume
Group=guillaume
Type=simple
ExecStart=/home/guillaume/miniconda3/envs/ipsender/bin/python /home/guillaume/src/ipsender/send.py
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment