[Unit] Description=LCM Telegram Bot Requires=lcmbot-redis-server.service After=network.target lcmbot-redis-server.service [Service] Type=simple User=lcmbot Group=lcmbot WorkingDirectory=/opt/lcmbot/LCMbot Environment=https_proxy=http://192.168.0.1:3128/ EnvironmentFile=/usr/local/etc/lcmbot/lcmbot.conf ExecStart=/home/lcmbot/miniconda2/bin/python2 /opt/lcmbot/LCMbot/LCMbot.py Restart=always [Install] WantedBy=multi-user.target