[Unit] Description=smartied smarthome server Requires=network.target #After=network-online.target #Wants=network-online.target [Service] Environment=CONFIG_PATH=/etc/smartied.json ExecStart=/usr/bin/smartied Restart=on-failure RestartSec=1 StandardOutput=journal StandardError=journal [Install] WantedBy=multi-user.target