[Unit] Description=Epicyon: Federated social network server After=network.target [Service] Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ ExecStart=/usr/bin/python3 __INSTALL_DIR__/source/epicyon.py --port 443 --proxy __PORT__ --domain __DOMAIN__ --registration open --log_login_failures Environment=USER=__APP__ Environment=PYTHONUNBUFFERED=true Restart=always StandardError=/var/log/__APP__/__APP__.log CPUQuota=80% [Install] WantedBy=multi-user.target