[Unit] Description=Magrit After=network-online.target [Service] Type=simple WorkingDirectory={{ archorg_dir }} ExecStart=/usr/bin/node {{ archorg_dir }}/mirrorHTTP.js Restart=always RestartSec=10 StandardOutput=syslog StandardError=syslog SyslogIdentifier=archorg ExecStart={{ magrit_venv }}/bin/python3.5 {{ magrit_venv }}/magrit_app/app,py --port {{ magrit_port }} --address {{ lan_ip }} [Install] WantedBy=multi-user.target